Constants that specify the general type of an event.
iOSiPadOSMac CatalysttvOSvisionOS
You can obtain the type of an event from the type property. To further identify the event, you might also need to determine its subtype, which you obtain from the subtype property.
The event relates to motion of the device, such as when a person shakes it.
case pressesThe event relates to the press of a physical button.
case scrollThe event relates to scrolling from an indirect input device.
case hoverThe event relates to a pointer from an indirect input device moving over a user interface element.
case transformThe event relates to a pointer from an indirect input device performing a transformation on a user interface element, such as scaling, rotation, or translation.
Current page is UIEvent.EventType
网址: UIEvent.EventType https://m.huajiangbk.com/newsview1213686.html
上一篇: 2023 Apple... |
下一篇: Apple发布会前库克在微博热情 |