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

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -