GithubHelp home page GithubHelp logo

Comments (10)

SmileZXLee avatar SmileZXLee commented on May 24, 2024

嗯嗯,经过测试,12mini下通过代码获取到的状态栏高度是44,导航栏固定的高度为44,正常应该是88才对。通过打印,系统导航栏y值为50,状态栏高度为44,状态栏与导航栏中间间隔了6像素不知道哪里来的。
如果全局都使用的是自定义导航栏,对整个项目是没有影响的,因为自定义导航栏实际上为控制器view,因此可以忽视系统导航栏的高度了。

from zxnavigationbar.

jianjianhao avatar jianjianhao commented on May 24, 2024

哎旧项目就有点尴尬了,想换成大佬的框架就是,改动的比较大难受

from zxnavigationbar.

SmileZXLee avatar SmileZXLee commented on May 24, 2024

如果旧项目要换成ZXNavigationBar的话,self.title=@"xxx"这个是不需要调整的,其他例如设置导航栏item这些需要手动更改,会比较麻烦一些。
12mini因为没有真机,不大确定是否是模拟器的bug,不过我看了模拟器上的94很丑,看着有点难受,因为mini本身比较小,导航栏反而更高,看起来不协调,所以觉得还是原来的88更好些。
我不是大佬,只是普通的程序员,有任何问题可以互相探讨交流哈,如果有需要调整的地方,我会第一时间解决的!感谢使用和认可(╹▽╹)

from zxnavigationbar.

jianjianhao avatar jianjianhao commented on May 24, 2024

作者我刚刚试了下在iPhone 12 mini 切换系统导航栏的时候侧滑返回,demo的视图会往下面掉下去
57AF44C3-E9EE-4C6E-9106-961B959A7298
估计这种比较难搞,哎系统的玩意真坑

from zxnavigationbar.

jianjianhao avatar jianjianhao commented on May 24, 2024

其系统的也就会喔,估计是要处理

from zxnavigationbar.

SmileZXLee avatar SmileZXLee commented on May 24, 2024

作者我刚刚试了下在iPhone 12 mini 切换系统导航栏的时候侧滑返回,demo的视图会往下面掉下去
57AF44C3-E9EE-4C6E-9106-961B959A7298
估计这种比较难搞,哎系统的玩意真坑

感谢提醒!此问题已修复,可以更新到1.3.0哦

from zxnavigationbar.

Soldoros avatar Soldoros commented on May 24, 2024

你好 同问一下12mini的问题 刚进系统会空出几个像素 切换页面后回来 就消失了 13mini也是这个问题 请问这个是怎么处理的
image

from zxnavigationbar.

Soldoros avatar Soldoros commented on May 24, 2024

image

from zxnavigationbar.

SmileZXLee avatar SmileZXLee commented on May 24, 2024

你好 同问一下12mini的问题 刚进系统会空出几个像素 切换页面后回来 就消失了 13mini也是这个问题 请问这个是怎么处理的

image

收到,我排查一下

from zxnavigationbar.

SmileZXLee avatar SmileZXLee commented on May 24, 2024

你好 同问一下12mini的问题 刚进系统会空出几个像素 切换页面后回来 就消失了 13mini也是这个问题 请问这个是怎么处理的
image

经过检查猜测是Xcode中自带的模拟器的bug,请测试真机中是否有此问题。

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.