 <p>Use <code>sizeWithFont:constrainedToSize:</code> to get size of string</p> <p>If you're on iOS7 use <code>boundingRectWithSize:options:attributes:context:</code> instead (<code>sizeWithFont:constrainedToSize:</code> is deprecated on iOS7)</p>