I have a UITextView
inside a UIScrollView
that worked perfectly fine on iOS 6
built from xcode 4.x
, however now building with
method sizeWithFont:(UIFont *)font constrainedToSize ..."
has been deprecated in iOS 7.
It would function properly.
Check out its alternate in iOS 7
Instance Method of NSString
-(CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:
(NSDictionary *)attributes context:(NSStringDrawingContext *)context
Check this answer out. Replacement for deprecated sizeWithFont: in iOS 7?