如果用户已启用本地通知,请在iPhone上确定 [英] Determine on iPhone if user has enabled local notifications

查看:112
本文介绍了如果用户已启用本地通知,请在iPhone上确定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种方法来确定用户是否通过设置启用或禁用了我的应用程序的本地通知。
这里我没有使用推送通知

I'm looking for a way to determine if the user has, via settings, enabled or disabled their Local notifications for my application. Here I'm not using push notification

谢谢。

推荐答案

在iOS5.0之前,本地通知始终可用。

Before iOS5.0 Local Notifications was always available.

由于iOS8.0存在检测方式,因此用户禁用了它:https://stackoverflow.com/a/26052687/751932

Since iOS8.0 exists way to detect it is disabled by user or not: https://stackoverflow.com/a/26052687/751932

没有公共方式来确定您在iOS 5.0到8.0之间要求的内容

There are no public way to determine what you ask between iOS 5.0 to 8.0

这篇关于如果用户已启用本地通知,请在iPhone上确定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆