共用方式為


UNLocationNotificationTrigger.CreateTrigger(CLRegion, Boolean) 方法

定義

[Foundation.Export("triggerWithRegion:repeats:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static UserNotifications.UNLocationNotificationTrigger CreateTrigger (CoreLocation.CLRegion region, bool repeats);
static member CreateTrigger : CoreLocation.CLRegion * bool -> UserNotifications.UNLocationNotificationTrigger

參數

region
CLRegion
repeats
Boolean

傳回

屬性

適用於