title: UILabel Multiple Line in iOS6
body: <p>I have to show multiple line in UILabel (If text is large). Below is my code. I am using separate properties for different iOS versions. Please help me out..</p>
  
  <pre><code>    labelLocation.numberOfLines=2;
      labelLocation.font=[UIFont systemFontOfSize:25];
      if ([[[UIDevice currentDevice]systemVersion]floatValue]&gt;=6) {
          labelLocation.lineBreakMode=NSLineBreakByTruncatingTail;
          labelLocation.minimumScaleFactor=10.0/[UIFont labelFontSize];
      }else{
          labelLocation.lineBreakMode=UILineBreakModeTailTruncation;
          labelLocation.minimumFontSize=10;
      }
      labelLocation.text=@"Can we make UILabeltext in 2 lines if name is large";
  </code></pre>