title: Objective-C (IOS 6.1+): Draw Text in a shape or path
body: <p>I was wondering if there is an "easy" way to draw text in a shape or a view or a path so that the characters wrap if the text line is too long (even with fonts with different sizes).</p>
  
  <p>Below just an picture to describe the idea...</p>
  
  <p>How can i check that a particular character size goes beyond the shape border and therefore the characters should be wrapped?</p>
  
  <p>Any help on this...highly appreciated... :-)
  Thank you in advance.</p>
  
  <p><img src="https://i.stack.imgur.com/J4Jq1.jpg" alt="enter image description here"></p>