Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (CGSize)textWidth:(NSString*)stringParam
- {
- float width = 10000.0;
- float height = 10000.0;
- CGSize textSize = { width, height };
- CGSize size = [stringParam sizeWithFont:[UIFont boldSystemFontOfSize:14.0] constrainedToSize:textSize lineBreakMode:UILineBreakModeWordWrap];
- return size;
- }
Add Comment
Please, Sign In to add comment