statusbar - Objective-C: Modal transition with status bar -


The status bar is hidden in my main view controller (in viewDidLoad):

  [[UIApplication shared application] Set Status Barhard: Yes];  

I present a modal view in which I do not want to hide the status bar, so I use (in the scene view controller in the front panel):

< Pre> [[UIApplication shared application] Set Status Barhard: No];

This works, however, it seems a bit vague because the status bar appears again at the top after the modal submission. I want the status bar to be presented with the model. (Ie, I want to attach it to the naval bar of the controller)


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -