ApplePress - UBogun/Xojo-iosLib GitHub Wiki
Inherits from AppleObject
Memory leak check: n/a
Status: complete
Available since iOS 9.1
This is an implementation of UIPress, a class for informing about the presence or movement of a button press on the screen for a particular event. All of the press types represent actual physical buttons on one of a variety of remotes. You access UIPress objects through AppleEvent objects passed into responder objects for event handling. The gestureRecognizers property returns the gesture recognizers—that is, instances of a concrete subclass of UIGestureRecognizer—that are currently handling the given button press.
Constructors
no constructor You receive ApplePress objects from AppleResponders.
Properties
Force As Double (read-only): The force of the button press
GestureRecognizers As AppleArray Of AppleGestureRecognizer (read-only): The gesture recognizers that are receiving the press
Phase As UIPressPhase (read-only): The phase of the specified press.
Responder As AppleResponder (read-only): This property is a UIResponder object that either is focused or is the isFirstResponder object in the window when UIApplication originally dispatched the press event
Timestamp As Double: (read-only): The time when the press occurred or when it was last mutated. Reference is system startup time.
Type As UIPressType (read-only): The type of the specified press.
Window As AppleWindow (read-only): The window in which the press initially occurred.
##Enumerations
see Constants