Comments (6)
您好,您的iPhone 11 pro max的软件版本是iOS 14的吗,我使用iOS 13.5的iPhone 11 pro max未发现您描述的问题,如果方便的话可以帮我打印一下[UIApplication sharedApplication].delegate.window.safeAreaInsets.top的值吗?感谢!
from zxnavigationbar.
我设置导航栏为透明的时候,切换到下一个页面的是系统的导航栏,会有向上偏移的。初始化是在layoutsubviews上初始化吗?我在viewdidload上初始化的。
from zxnavigationbar.
我设置导航栏为透明的时候,切换到下一个页面的是系统的导航栏,会有向上偏移的。初始化是在layoutsubviews上初始化吗?我在viewdidload上初始化的。
你好,方便提供一个demo或者相关代码片段和截图吗,以便我定位问题和改正,感谢!
from zxnavigationbar.
您好,您的iPhone 11 pro max的软件版本是iOS 14的吗,我使用iOS 13.5的iPhone 11 pro max未发现您描述的问题,如果方便的话可以帮我打印一下[UIApplication sharedApplication].delegate.window.safeAreaInsets.top的值吗?感谢!
po [UIApplication sharedApplication].delegate.window.safeAreaInsets.top
error: <user expression 0>:1:44: property 'window' not found on object of type 'id' 可能是因为我是用了SceneDelegate,所以你这种获取高度的方式好像不行,因为这个时候AppDelegate没有window这个属性了
from zxnavigationbar.
您好,您的iPhone 11 pro max的软件版本是iOS 14的吗,我使用iOS 13.5的iPhone 11 pro max未发现您描述的问题,如果方便的话可以帮我打印一下[UIApplication sharedApplication].delegate.window.safeAreaInsets.top的值吗?感谢!
po [UIApplication sharedApplication].delegate.window.safeAreaInsets.top
error: <user expression 0>:1:44: property 'window' not found on object of type 'id' 可能是因为我是用了SceneDelegate,所以你这种获取高度的方式好像不行,因为这个时候AppDelegate没有window这个属性了
感谢您的反馈与帮助,我在1.2.3版本中修复了这一问题,您可以更新一下。
from zxnavigationbar.
我设置导航栏为透明的时候,切换到下一个页面的是系统的导航栏,会有向上偏移的。初始化是在layoutsubviews上初始化吗?我在viewdidload上初始化的。
请您在使用系统导航栏的控制器的-viewDidLoad方法中作如下设置:
//注意,因系统导航栏默认被隐藏,请手动设置显示导航栏
self.navigationController.navigationBarHidden = NO;
//如果希望view从导航栏下方开始,请设置系统导航栏为不透明
self.navigationController.navigationBar.translucent = NO;
from zxnavigationbar.
Related Issues (20)
- 如何增大backButton的触发面积. HOT 1
- 我想在当前页面禁止pop手势,或者是拦截返回手势,设置以下无效, HOT 2
- 提个建议 HOT 1
- BackButtonHandlerProtocol 协议名重复 HOT 1
- 设置状态栏颜色不管事怎么解决 HOT 9
- TableViewController的显示有问题。 HOT 2
- 请问侧滑返回能增加像系统导航那种渐变吗 HOT 1
- TableViewController还是有比较严重的问题 HOT 2
- 能不能ZXNavigationBarController加个分类,就是不继承它,也可以使用相关的属性 HOT 1
- safeArea布局问题
- zx_setPopGestureCompatibleScrollView返回手势冲突解决问题 HOT 3
- 如果viewcontroller里面并排两个tableview,第二个tableview就会到导航栏下面去了 HOT 1
- 可以适配RTL吗
- self.zx_navBar.zx_y = 200;发现无法改变zx_navBar的位置
- 好像对TableViewController失效了 HOT 3
- 写的很好哦 HOT 1
- 请问现在有适配iOS 15了么?
- 麻烦适配下iOS 13的一些属性获取,比如keyWindow,statusBarFrame这些 HOT 1
- IQKeyboardManager冲突 HOT 1
- It looks very convenient, but I don't know how to use it 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 zxnavigationbar.