ios - UISplitViewController: Navigationbar for master view hidden after rotation -


I have two navigation bars, one for my master view and one for my details.

I created my UISplitviewController in the built-in interface builder and a navigation controller has been attached as a guru and description and linked to the actual views. The details view always shows a working navigation bar, the master view only when the iPad does not rotate after the app starts, and in landscape mode I have double-checked the source-code of my storyboard, but the Master and Extension Navigation Controller ID and X Similar to / Y:

   & Lt; Autoresizing mask key = "autoresizingmask" /> & Lt; / NavigationBar & gt; & Lt; Connection & gt; & Lt; Segue destination = "VeO-5d-klv" type = "relation" relationship = "rootviewculator" id = "gtO-mE-rzu" /> & lt; / Connection & gt; & Lt; / NavigationController & gt; & Lt; Placeholder placeholder identifier = "IBFest responder" ID = "TEM-WF-PLL" userlabel = "first responder" visible member ID = "first responder" /> & Lt; / Objects & gt; & Lt; Point key = "canvas space" x = "- 1201.5" y = "- 343" /> & Lt; / View & gt;  

I have tried to change the canvas space without using it. Both details and master views are inherited from the same BasicViewController .

I found my code come from the following method (from a legacy project that I have created):

  - (zero) viewViewAppear: (BOOL) animated {self.navigationController.navigationBarHidden = YES; }  

This reason is obvious. It is interesting that although this method is not visible in the scenario - it is not what I expected from the name.


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -