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
Post a Comment