M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm. Join Stack How to programmatically scroll uiscrollview to learn, share knowledge, and build your career. M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zM8 15. Yesterday I loss a job because of I don’t know the correct answer of this question.
Did not find what they wanted? Try here
Most of below answers are not correct! This works for both iOS 6. If you want support for iOS 6. I recommend to use CGFLOAT_MAX macro instead of MAXFLOAT. Prior to that it is equal to frame. This will not work if auto layout is ON.
Constraint is a layout constraint that you typically setup via a IBOutlet by linking the property to the height constraint created in a storyboard. I was setting text view height and then adjusting the height of the containing view. Apparently when I did that the text view height was being adjusted. It’s about resizing the outer container though. That behavior has changed in iOS 7. Saved me from throwing my computer out the window. Didn’t quite work for me .