12207480 / TYPagerController

page scroll view and controller,simple,high custom,and have many tabBar styles,,support Objective-C and swift
MIT License
1.37k stars 231 forks source link

影响系统的滑动返回功能 #94

Closed yangda123 closed 6 years ago

yangda123 commented 6 years ago

滑动切换控制器的时候不会出现问题,但是滑动当前控制器,没有切换。会导致系统的滑动返回失效问题

12207480 commented 6 years ago

73 看看这个

yangda123 commented 6 years ago

谢啦,解决了。与我自己重写的滑动返回手势冲突

12207480 commented 6 years ago

你是怎么解决的?

yangda123 commented 6 years ago

我重写了系统返回事件,在父类中重新设置代理,加载在TYPageController子控制器继承父类,影响了滑动返回

达仔 邮箱:18205598086@163.com

签名由 网易邮箱大师 定制

在2018年04月21日 18:39,yeBlueColor 写道:

你是怎么解决的?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

xiaohange commented 6 years ago

自定义scrollview 继承UIScrollview . 判断拖动时候的偏移值self.contentOffset.x 。如果小于0 则让它返回 . @yangda123 这个scrollview放在哪呢? @12207480 @Zhengqi