如何设置LocalNotification每两分钟重复一次?

发布于 2024-09-25 04:46:32 字数 83 浏览 1 评论 0原文

我正在使用 LocalNotification 来设置日程警报。属性重复间隔允许我设置每分钟、每小时重复一次..但我想设置每两分钟重复一次?我该怎么办?

I'm using LocalNotication to set schedule Alarm. atribute repeatInterval allow me to set repeat each minute, each hour.. But I want to set repeat each two minutes? How can i do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

痴情 2024-10-02 04:46:32

您可以安排 30 个闹钟。一小时内每 2 分钟一个,并将 30 个通知中的每个通知的重复间隔设置为每小时。

You can schedule 30 alarms. One for each 2nd minute for a whole hour, and set repeatInterval to each hour fo each of the 30 notifications.

夜灵血窟げ 2024-10-02 04:46:32

我已在 http://bugreport.apple.com/ 提交了错误报告/增强功能,

您可以查看我在 Open Radar 存档的报告: http://openradar.appspot.com/radar?id= 759402

根据 Instapaper 开发者 Marco 的说法,苹果会部分根据有多少开发者提出请求来确定增强功能和功能请求的优先级。

如果此功能对您很重要,我建议您也提交一份报告。

I've filed a bug report/enhancement at http://bugreport.apple.com/

You may take a look at my report archived at Open Radar: http://openradar.appspot.com/radar?id=759402

According to Marco, developer of Instapaper, Apple prioritizes enhancement and feature requests partly based on how many developers are requesting them.

If this feature is important to you I urge you to file a report as well.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文