You can not disable it. You can find more explanation here:
How to hide iOS bottom control center? [duplicate]
题
I am using swipe gesture from bottom to top in my app, but when I do this, Apple control center comes up. Can I prevent bottom control center from coming up?
解决方案 2
其他提示
Hiding your status bar will make the behaviour of your app slightly different, but as far as I know there is no public API to prevent the control or notification center to appear on screen.
You can disable the status bar in IOS7 like this:
- (BOOL)prefersStatusBarHidden
{
return YES;
}
And for IOS6 and prior:
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
不隶属于 StackOverflow