Defer system gestures in a WatchKit app

Hi,

I'm making a WatchKit game app with SpriteKit and Objective-C, and I'm encountering an annoyance where system gestures, namely long-pressing the top and bottom edges to pull Notification/Control Center, interfere with the controls of the game.

In iOS, this can be mitigated by using overriding preferredScreenEdgesDeferringSystemGestures in UIViewController, but I couldn't find any equivalent API in any WatchKit class, and searching for similar symbols only yielded a single private API (-[_UISystemAppearanceManager screenEdgesDeferringSystemGestures]) that isn't ever called on watchOS.

Any idea how to achieve a similar effect on watchOS?

If it's not documented, then it's not supported - file a bug report, but this sounds like an overarching system service that cannot be altered.

Defer system gestures in a WatchKit app
 
 
Q