Closed yuyedaidao closed 2 years ago
@ChenYilong 跟573不一样,他是设置backgroundImage,我是默认设置,没有设置backgroundImage
iOS15 TabBar的视图结构跟之前的版本不太一样
亲测是可以,但我导航栏还是有BUG,跟FD的滑动手势冲突了,暂时没办法解决,standardAppearance.backgroundImageContentMode = UIViewContentModeScaleAspectFit;设置这个就可以了,
通过kvo检测透明度的改变然后强制修正回来
亲测是可以,但我导航栏还是有BUG,跟FD的滑动手势冲突了,暂时没办法解决,standardAppearance.backgroundImageContentMode = UIViewContentModeScaleAspectFit;设置这个就可以了,
if (@available(iOS 15.0, *)) {
self.tabBar.backgroundColor = [UIColor whiteColor];
}
加这句话就可以了,和FD没冲突, 也不用设置standardAppearance.backgroundImageContentMode = UIViewContentModeScaleAspectFit
@my-lsk 你这加上岂不会影响模糊效果,除非你们就是设计的白色背景
@my-lsk 你这加上岂不会影响模糊效果,除非你们就是设计的白色背景
是的,我们是白色背景
Base Info for this issue
1. How to reproduce the problem.
2. Please help me in this way.
3. Here is a Demo.
4. Here is my Debug log