ios - 在第一个界面设置完导航栏为半透明之后,再返回到第一个界面 会留出64像素。求解
PHP中文网
PHP中文网 2017-04-17 15:54:17
0
1
695
PHP中文网
PHP中文网

认证0级讲师

reply all(1)
左手右手慢动作

As long as one pixel of the navigation bar is transparent, it will float above the content view and will no longer be stretched by 64 px. Apple’s official documentation also explains this.

You can manually specify the navigation pattern to be opaque:

self.navigationController.navigationBar.translucent = NO;
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template