[英]NavigationController Transparent And Background Image On Swift
I learning IOS Programming, When i create navigation controller, i have 2 kinds navigation, navigationbar with image background and transparent background: 我正在学习IOS编程,当我创建导航控制器时,我有2种导航方式,即带有图像背景和透明背景的导航栏:
first controller with transparent navigationBar background, and second controller use navigation with image background, but when i back from secondcontroller to firstcontroller, there is flash in navigationbar. 第一个控制器具有透明的navigationBar背景,第二个控制器使用具有图像背景的导航,但是当我从secondcontroller切换回firstcontroller时,navigationbar中有闪光灯。 how to fix it ?
如何解决呢?
see that navbar, there is flash white whan back 看到那个导航栏,有闪光的白色wh回
我认为您必须在两个导航栏控制器中都添加图像。但是当您从第二个弹出到第一个时,只需隐藏第一个导航栏的图像...可能对您有所帮助...!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.