How to get CGSize
value for a NSString
in iOS 7 SDK, just want convert the below lines of code with sizeWithAttributes
.
CGSize size = [text sizeWithFont:[UIFont systemFontOfSize:FONT_SIZE] constrainedToSize:constraint lineBreakMode:NSLineBreakByWordWrapping];