(iOS7) Scroll to cursor in UITextView in UITableView in UIScrollView

I have a problem since I upgraded to iOS7.

I have a UIScrollViewhorizontal base , and on it there is UITableView (looks like a navigation style). And I'm addChild UITextViewon UITableViewis not on the cells.

When typing the keyboard, it scrolls to UITextView. And it works very hard until iOS 6, but not with the iOS7 update.

How can I solve this problem?

Thanks.

+4
source share
2 answers

Process textViewDidChangeSelectionin UITextViewDelegate:

- (void)textViewDidChangeSelection:(UITextView *)textView {
    [textView scrollRangeToVisible:textView.selectedRange];
}

, UITextView, ( UITextViewDelegate).

, .

+6

XIB xCode4 xCode5? , , XIB, Xcode5 XCode 4.x XIB, . , Xcode5..

xib File Inspector, xcode 4.x ios6.1 , , -..

0

All Articles