Notifications/Control Center pull-down "tab" no longer appears when "Hide Status Bar" is checked (beta 7)

In iOS 10 and previous versions, checking "Hide Status Bar" box in the General Settings tab (and setting "View controller-based status bar appearance" to NO in info.plist) makes bringing up the notifications/control center screen a two-step process — the first swipe brings up a small arrow-tab, which you then swipe *again* to reveal the notification screen or control center. (This is super-important for certain kinds of games in order to keep the user from accidentally swiping into the control center every few moments.) My iOS 10 apps still behave that way under iOS 11 (beta 7), but new builds made with the XCode beta (targeting iOS 10 *or* 11) don't show this tab — a swipe simply pulls up the entire control center screen, no matter how you've configured the status bar. Does anyone know if there's a new setting for iOS 11 to do this that I'm missing?

Accepted Answer

Aha. It turns out in iOS 11 this property is set by overriding preferredScreenEdgesDeferringSystemGestures() on the ViewController:


https://developer.apple.com/documentation/uikit/uiviewcontroller/2887512-preferredscreenedgesdeferringsys?language=obj

Notifications/Control Center pull-down "tab" no longer appears when "Hide Status Bar" is checked (beta 7)
 
 
Q