NSDictionary *attributes = [ NSDictionary dictionaryWithObjectsAndKeys :[ UIFont systemFontOfSize :13], NSFontAttributeName , nil ]; float width = [[[ NSAttributedString alloc ] initWithString :cicleStr attributes :attributes] size ]. width ;