I have UITextView:
textView = [[UITextView alloc] init];
textView.scrollEnabled = NO;
I have a problem only on iOS7:
On every keyboard keystroke, layoutSubviews
is called on superview. After writing several characters, it gets stuck in infinite loop and keeps calling layoutSubviews
constantly.
When I remove textView.scrollEnabled = NO;
line of code, everything works the way it is supposed to.
I would really like to disable scrolling on my text view. Does anybody have an idea how to do it?