scrollViewDidScroll未执行 [英] scrollViewDidScroll not executing

查看:356
本文介绍了scrollViewDidScroll未执行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我认为在iPhone开发方面有体面的经验。
我知道多少..我设置了代理..
我从顶部到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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆