It can be a little more complicated because you are trying to disable the iOS function for yourself, for example, finger gestures on fingers on an iPad and so on. Some people use this method to determine the other side of the notification center swipe:
statusBarHidden = YES
and then you can redefine the side:
setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft
as an example.
I think you could not find any hacks to prevent iOS notification at all. As a final approach, you can get some profit from working with jaiblroken features on unlocked devices ...
source
share