In iOS7, swiping up from the bottom of the screen or down from the top of the screen slides a \"glass screen\" on top of the app you are using. In many games, it is very fru
To get the same behaviour in iOS 11, you must implement preferredScreenEdgesDeferringSystemGestures on your view controller:
preferredScreenEdgesDeferringSystemGestures
- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures { return UIRectEdgeAll; }