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