UIApplicationDelegate.RegisteredForRemoteNotifications 方法

定义

指示对 RegisterForRemoteNotifications() 的调用成功。

[Foundation.Export("application:didRegisterForRemoteNotificationsWithDeviceToken:")]
public virtual void RegisteredForRemoteNotifications (UIKit.UIApplication application, Foundation.NSData deviceToken);
abstract member RegisteredForRemoteNotifications : UIKit.UIApplication * Foundation.NSData -> unit
override this.RegisteredForRemoteNotifications : UIKit.UIApplication * Foundation.NSData -> unit

参数

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

deviceToken
NSData
属性

适用于