unregisterForRemoteNotifications
リモート通知を解除します
- (void)unregisterForRemoteNotifications
func unregisterForRemoteNotifications()
解説
リモート通知の登録を解除します。
返り値
なし
引数
なし
フレームワーク
ApplicationKit
クラス
NSApplication
使用可能
10.7
編集時のバージョン
10.10
例文
//NSApplication unregisterForRemoteNotifications // @IBAction func function022(sender: AnyObject) { //共有アプリケーションインスタンスを取得 let anApplication = MyApplication.sharedApplication() //登録解除 anApplication.unregisterForRemoteNotifications() }