【问题标题】:Is there any way to disable/enable notfication of my iphone app有什么方法可以禁用/启用我的 iphone 应用程序的通知
【发布时间】:2013-05-12 18:56:58
【问题描述】:

我的应用程序包含一个 uiswitch,用户可以选择禁用/启用我的 iphone 应用程序的通知 所以我需要禁用/启用通知的代码, 谢谢

【问题讨论】:

标签: ios iphone notifications ios6


【解决方案1】:

调用 registerForRemoteNotificationTypes(启用)或 unregisterForRemoteNotificationTypes(禁用)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-05-16
    • 2023-04-06
    • 1970-01-01
    • 2019-12-22
    • 1970-01-01
    • 2015-11-28
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多