Status bar and navigation bar issue in IOS7

前端 未结 11 1794
眼角桃花
眼角桃花 2020-11-22 10:10

I am migrating my application to iOS 7. For handing the status bar issue I have added this code

if([[[UIDevice currentDevice] systemVersion] floatValue] >         


        
11条回答
  •  既然无缘
    2020-11-22 10:18

    To hide status bar in ios7 follow these simple steps :

    In Xcode goto "Resources" folder and open "(app name)-Info.plist file".

    • check for "View controller based status bar appearance" key and set its value "NO"
    • check for "Status bar is initially hidden" key and set its value "YES"

    If the keys are not there then you can add it by selecting "information property list" at top and click + icon

提交回复
热议问题