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


i have problem since updated ios7.

i have base uiscrollview horizontally , there uitableview on (looks navigation style). , addchild uitextview on uitableview not on cells.

and scrolled uitextview's cursor when typing keyboard. , works until ios 6 not since updating ios7.

how can solve problem?

thanks.

handle textviewdidchangeselection in uitextviewdelegate:

- (void)textviewdidchangeselection:(uitextview *)textview {     [textview scrollrangetovisible:textview.selectedrange]; } 

the exact solution depends on application, can handle subclassing uitextview prefer decorator pattern here (on uitextviewdelegate protocol).

i hope helps.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -