ios6 - IOS7 upgrade - Status bar not hiding on iPad -


hi i'm upgrading universal app ios6 ios7. i'm hiding status bar using inside .plist file:

-> status bar hidden = yes -> view controller-based status bar appearance = no 

then inside appdelegate didfinishlaunchingwithoptions: added:

[[uiapplication sharedapplication] setstatusbarhidden:yes                                    withanimation:uistatusbaranimationnone]; [[uiapplication sharedapplication] setstatusbarhidden:yes]; 

the statusbar correctly hidden when running on:

  • ios6 [iphone,ipad]
  • ios7 [iphone]

i have issues on ipad/ios7. can't hide here!

any help?

make sure xcode project not target iphone.

in case, xcode project target iphone, , i'm building project in ipad 2x zoom non of hide statusbar solution worked me. here solution, change device type ipad under deployment info column. , apply this

status bar hidden = yes view controller-based status bar appearance = no

into info.plist


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -