ipad - How can I hide the status bar in iOS 7.1? -


in ios 7.0, hid status bar in apps adding

<key>uistatusbarhidden</key> <true/> <key>uiviewcontrollerbasedstatusbarappearance</key> <false/> 

to info.plist. updated testing ipad ios 7.1, , status bar in of apps. how can hide in both 7.0 , 7.1?

update: happening in iphone apps running on ipad, don't see problem on iphone or in simulator.

try adding following

   - (void)viewwillappear:(bool)animated{         nslog(@"view appear");         [[uiapplication sharedapplication] setstatusbarhidden:yes withanimation:uistatusbaranimationnone];      }      - (void)viewwilldisappear:(bool)animated{          [[uiapplication sharedapplication] setstatusbarhidden:no withanimation:uistatusbaranimationnone];     } 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -