/ Published in: Other
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UIFont *font = [UIFont boldSystemFontOfSize:12.0f]; [self.infoColor set]; NSString *lbl = @"Test"; [lbl drawInRect:CGRectMake((startx + 20), 5, 60, 20.0f) withFont:font lineBreakMode:UILineBreakModeTailTruncation alignment:UITextAlignmentLeft];