UIApplication.RegisterForRemoteNotifications 方法

定义

使用 Apple Push 服务注册接收推送通知。

[Foundation.Export("registerForRemoteNotifications")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RegisterForRemoteNotifications ();
abstract member RegisterForRemoteNotifications : unit -> unit
override this.RegisterForRemoteNotifications : unit -> unit
属性

适用于