UISwipeGestureRecognizerDirection 枚举

定义

值的枚举,指定轻扫手势 的 directin。

此枚举支持其成员值的按位组合。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[System.Flags]
public enum UISwipeGestureRecognizerDirection
type UISwipeGestureRecognizerDirection = 
继承
UISwipeGestureRecognizerDirection
属性

字段

名称 说明
Down 8

触摸或触摸朝底部轻扫。

Left 2

触摸或触摸向左轻扫。

Right 1

触摸或触摸向右轻扫。 这是默认值。

Up 4

触摸或触摸轻扫到顶部。

适用于