iOS 7 introduced the top/bottom handy toggles to allow you quickly access some control center features. However my application uses the full screen for touching and users can accidentally slide the toggles. I know the user can disable it from the control center but how I can turn that off in code?
Asked
Active
Viewed 1,082 times
0
-
possible duplicate of [Is it possible to disable Control Center in iOS 7 programmatically and if not, what are alternatives?](http://stackoverflow.com/questions/19306449/is-it-possible-to-disable-control-center-in-ios-7-programmatically-and-if-not-w) – Robotic Cat Nov 11 '13 at 10:45
2 Answers
0
It seems that at the moment it is not possible to disable control center programmatically. See also: Is it possible to disable Control Center in iOS 7 programmatically and if not, what are alternatives?
-1
You can disable the status bar using this delegate in IOS7:
- (BOOL) prefersStatusBarHidden
{
return YES;
}
And this method in IOS6.1 and prior:
[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationSlide];
This will prevent the accidental launch of the handy toggles. Try it.

Harikrishnan
- 7,765
- 13
- 62
- 113