两台电脑共享(无线)上网最佳解决方案
2010-03-09 15:20
337 查看
// When the user taps the status bar, the scroll view beneath the touch which is closest to the status bar will be scrolled to top, but only if its `scrollsToTop` property is YES, its delegate does not return NO from `shouldScrollViewScrollToTop`, and it is not already at the top.
// On iPhone, we execute this gesture only if there's one on-screen scroll view with `scrollsToTop` == YES. If more than one is found, none will be scrolled.
@property(nonatomic) BOOL scrollsToTop; // default is YES.
设置这个属性,可以让点击状态栏不回到顶部,但是如果我们需要让他回到顶部,程序又不响应操作,解决方法
刚才上面的官方文档说了,只有当一个主控制器有一个scrollview 并把这个属性设置为yes,其他的scrollview.scrollsToTop = NO 这样才会响应这个事件,原理很简单,如果有2个scrollview,系统根本不知道你需要哪个滚动到最上面
// On iPhone, we execute this gesture only if there's one on-screen scroll view with `scrollsToTop` == YES. If more than one is found, none will be scrolled.
@property(nonatomic) BOOL scrollsToTop; // default is YES.
设置这个属性,可以让点击状态栏不回到顶部,但是如果我们需要让他回到顶部,程序又不响应操作,解决方法
刚才上面的官方文档说了,只有当一个主控制器有一个scrollview 并把这个属性设置为yes,其他的scrollview.scrollsToTop = NO 这样才会响应这个事件,原理很简单,如果有2个scrollview,系统根本不知道你需要哪个滚动到最上面
相关文章推荐
- 两台电脑共享(无线)上网最佳解决方案 推荐
- 怎么样让台式机通过笔记本无线上网 台式机共享上网 笔记本当无线路由器 两台电脑一根网线
- 两台笔记本电脑,通过无线网络共享上网. 收藏
- 两台笔记本电脑,通过无线网络共享上网
- 【转】用两个蓝牙适配器共享两台电脑同时上网
- 路由器怎么连接两台电脑/实现共享上网
- Windows 7下,中兴U880通过电脑无线网卡共享上网(共享无线上网)
- 两台电脑共享上网(一台双网卡、一台单网卡)
- 两台或多台笔记本通过无线网卡共享上网
- 【转】实现两台笔记本通过无线共享上网
- 两台电脑共享上网
- 两台无线笔记本共享上网
- 两台无线笔记本共享上网
- 两台笔记本无线共享上网图解
- 两台笔记本无线互连共享上网
- 两台笔记本电脑架设AP共享上网
- 两台笔记本无线共享上网图解
- 无线网络配置--一根网线怎样让两台笔记本电脑同时上网
- 两台电脑共享上网方法