Comments (3)
HI 因为项目中有个分类起作用:UINavigationController+FDFullscreenPopGesture
你可以在想要的页面对它进行关闭
-(void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
//进来就把全屏返回关掉
self.navigationController.fd_fullscreenPopGestureRecognizer.enabled=NO;
}
-(void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
//进来就把全屏返回打开
self.navigationController.fd_fullscreenPopGestureRecognizer.enabled=YES;
}
不然它会影响全局,我在项目中有更新一个页面的实例,MPSolidColorViewController 你可以了解一下,是否是你想要的效果;感谢关注
from mobileproject.
感谢回复,这个分类之前有查看过,但是以MPChildrenViewController
这个实例来说,他的页面层级是
MPHomeViewController
:CYLTabBarController
-> secondNavigationController
:MPBaseNavigationController
-> MPMoreViewController
:BaseViewController
-> MPChildrenViewController
:BaseViewController
并没有看到用到了这个分类,这点上比较困惑
from mobileproject.
hi 原因是程序启动的时候必定调用UINavigationController,所以就算你没有引入但也会有效果,系统会自动调用,而像其它如NSString的扩展类,这个必须显式的调用,要引入才有效果
from mobileproject.
Related Issues (20)
- 什么时候更新呢 ,,可以加QQ不能 HOT 1
- 请问项目中以网页形式显示的UML类图是如何制作出来的? HOT 2
- 你好楼主 HOT 1
- EaseBlankPage 布局问题。 HOT 1
- 关于 [SYSafeCategory callSafeCategory] HOT 3
- Podfile文件中的AFN2.6换成3.1后各种报错 HOT 2
- What is the function of MPFDWithScrollViewController? HOT 1
- UINavigationController+JZExtension 视图控制器跳转时导航栏恢复了显示状态。
- UMengSocialLoginViewController 里边按钮的没有背景色, 字的颜色也是无色的, 看不到 HOT 1
- 关于导航栏的解决方案
- 建议隐藏系统的导航条, 在 BaseVc里变添加自定义的, 要不然老是考虑导航条的各种细节 HOT 1
- PRODUCT 环境在哪里配置的? HOT 1
- 请教您一个问题 HOT 1
- 新添一个 Config 目录 HOT 1
- Xcode9运行报错 ,怎么解决呢, HOT 2
- 你好,我下载了你这个项目但是编译不成功.
- pods问题 HOT 1
- 项目太大了,能不能把pods文件夹去掉 HOT 1
- 这轮子。。。。。。。 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mobileproject.