开发者

scrollViewDidScroll not executing

I think have decent experience working with iPhone development. as much I know.. I did set up the delegate.. I have from top to botton UIView --> UIScrollView--> UITextView

I tried everything... to get the event scrollView to fire the scrollViewDidScroll event.

is anything wrong开发者_StackOverflow社区 with the structure.. there not much of the code to post here. what I am trying to do is.. do something when UITextView is scrolled.


Sorry did not respond... Just wanted to share in case anyone need this... I used delegate methods of parent i.e. UIView for UIScrollView i.e. Child it worked..


It's hard to say without some code or a screenshot. Is the scroll view actually scrolling? If you set it up in Interface Builder, did you change the size of the scroll view's contentSize in code so that it can actually scroll? Maybe the text view is eating the scroll events; did you try setting the text view's delegate to see if it's firing a scrollViewDidScroll event?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜