开发者

UINavigationabar not hiding

开发者 https://www.devze.com 2023-04-11 12:12 出处:网络
I have a UInavigationBar that is set to hidden in the view did load. When I p开发者_C百科ush a view from the first view the navigation bar appears again which is fine. However when I go back to the fi

I have a UInavigationBar that is set to hidden in the view did load. When I p开发者_C百科ush a view from the first view the navigation bar appears again which is fine. However when I go back to the first view the navigation bar appears again even though. I don't want the first view to ever have a navigation bar? How do I stop this?


Hide the navigation bar again the the viewWillDisappear of the second view, or hide the navigation bar in the viewWillAppear of the first view.

0

精彩评论

暂无评论...
验证码 换一张
取 消