ChenYilong / CYLTabBarController

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
MIT License
6.91k stars 1.45k forks source link

iPhone X底部Tabbar位置错乱的问题 #176

Closed yujieace closed 6 years ago

yujieace commented 7 years ago

Base Info for this issue

  1. Version:v1.10.0
  2. Language:Objective-C
  3. iOS System Version:iOS11
  4. Prototype(是否是真机):NO
  5. Issue Type:Bug

1. How to repeat the problem.

使用iPhone X模拟器运行时出现底部的TabbarItem位置错乱的问题 截图 https://i.loli.net/2017/09/14/59ba23c366ea4.png

2. Please help me in this way.

烦请修复,适配iPhone X,感谢

zzialiuze commented 7 years ago

tabBarController.tabBarHeight = 49.0f; 这段代码注释掉好像可以解决ipnoneX的tabbar错乱

ChenYilong commented 7 years ago

补充说明:https://github.com/ChenYilong/CYLTabBarController/issues/173 建议升级

yujieace commented 7 years ago

升级到最新1.14.1版本了,但是底部tabBar的高度仍然不是指定的高度,是一个很宽的大白条,乱是不乱了。就是样式不对了。

ChenYilong commented 7 years ago

截图看下,另外也要对比下系统的app看下系统的tabbar样式是否也是有留白的。@yujieace

zengfxdev commented 7 years ago

我也出现这种问题: 升级到最新的1.14.1版本,在iPhoneX模拟器上测试显示,底部有白条的情况!

截图地址:,还在看到底是系统设置问题,还是库的问题~

ChenYilong commented 7 years ago

系统的TabBar高度变了,下面也是有留白的。

yasencoder commented 6 years ago

@zengfxios 朋友,tabbar 底部白条的问题,你是如何解决的?

WeMadeCode commented 6 years ago

@zengfxios 朋友,我也遇到了,这个问题 你怎么解决的

ChenYilong commented 6 years ago

请更新到v1.16.1版本。