Class IOSPressOptions

    • Constructor Detail

      • IOSPressOptions

        public IOSPressOptions()
    • Method Detail

      • withPressure

        public IOSPressOptions withPressure​(double pressure)
        Set the pressure value. This allows to simulate force/3D touch on devices, that support it.
        Parameters:
        pressure - the value to set. See the description of `force` property on Apple's UITouch class (https://developer.apple.com/documentation/uikit/uitouch?language=objc) for more details on possible value ranges.
        Returns:
        this instance for chaining.