質問

Is there a way to disable new notification bar in ios7 inside applicaton? I don't want the new bar to show when user swipes from botton while inside my app. Thank you

役に立ちましたか?

解決

Not using public API. And you shouldn't, as this is a universal feature across the operating system, across all software. There is no real option.

You can hide the status bar using [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];. This will not display the control center immediately, however any swipe from the bottom would still show an arrow which, if swiped again, would open the control center.

enter image description here

If the user chooses, he or she can disable the control center in third party applications if he chooses to. You can add a recommendation page in your app, where you may suggest that.

enter image description here

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top