scrollViewDidScroll未执行 [英] scrollViewDidScroll not executing
问题描述
我知道多少..我设置了代理..
我从顶部到botton
UIView - > UIScrollView - > UITextView
我尝试了所有的事情,以获取事件scrollView来触发scrollViewDidScroll事件。
结构是错误的。
没有太多的代码发布在这里。
我试图做的是在UITextView滚动时执行某些操作。
抱歉没有回复。 ..只是想分享,以防万一有人需要这个...
我使用父代的方法,即UIView for UIScrollView ie Child it work ..
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 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..
这篇关于scrollViewDidScroll未执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!