Version: 2019.2

PlayerSettings.iOS.deferSystemGesturesMode

Switch to Manual
public static iOS.SystemGestureDeferMode deferSystemGesturesMode ;

Description

Defer system gestures until the second swipe on specific edges.

On iPhone X the home button is implemented as a system gesture (swipe up from the lower edge of the screen). Other gestures are implemented as swipes from other screen edges. Note that this may interfere with games that use swipes as an interaction method. This setting specifies which screen edge gestures the system defers to the second swipe. The first swipe is ignored and provides a way to reduce unwanted interactions with the App. Note that iOS Human interface guidelines do not recommend enabling this behavior as it might confuse users. The value of this property can be changed on runtime by setting PlayerSettings.iOS.deferSystemGesturesMode property.