GithubHelp home page GithubHelp logo

push到B页面,B页面有个分页控制器,在分页控制器里面的第一页里面不能响应全屏返回手势 about zxnavigationbar HOT 2 CLOSED

smilezxlee avatar smilezxlee commented on May 28, 2024
push到B页面,B页面有个分页控制器,在分页控制器里面的第一页里面不能响应全屏返回手势

from zxnavigationbar.

Comments (2)

SunBoyXiao avatar SunBoyXiao commented on May 28, 2024

//加这一行代码即可解决ScrollView与侧滑返回手势冲突问题
//[self zx_setPopGestureCompatibleScrollView:self.pageController.downSc];
__weak typeof(self) weakSelf = self;
self.zx_popGestureShouldRecognizeSimultaneously = ^BOOL(UIGestureRecognizer * _Nonnull otherGestureRecognizer) {
if(weakSelf.pageController.downSc.contentOffset.x <= 0){
return YES;
}
return NO;
};
这个代码加了没效果。

from zxnavigationbar.

SmileZXLee avatar SmileZXLee commented on May 28, 2024

这个问题是否已解决了

from zxnavigationbar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.