获取报警时间在时钟应用程序中设置使用IOS SDK目标C另一个应用程序 [英] Get alarm time set in Clock app from another app in objective c using IOS sdk

查看:157
本文介绍了获取报警时间在时钟应用程序中设置使用IOS SDK目标C另一个应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何获得报警时间在默认的时钟应用在iPhone设置可用编程内的另一个iPhone应用程序。我发现有人说CF preferences API可以使用,但无法找到用它来获得时钟应用的闹钟时间的确切方式。任何帮助深表AP preciated。

How to get alarm time set in default Clock app available in iPhone programatically inside another iphone application. I have found someone say that CFPreferences api can be used but cannot find the exact way of using it to get alarm time from Clock app. Any help is much appreciated.

推荐答案

看起来像有没有简单的解决方案,你在找什么。关于CF preferences API,您首先需要知道时钟应用如何存储报警信息,或者即使它使用preferences报警信息存储在首位。一旦你摸不着头脑那么只有你可以使用CF preferences API来实现你想要的。

Looks like there's no straightforward solution to what you're looking for. Regarding CFPreferences API, you'll first need to know how the Clock app stores the alarm information, or even if it does use the Preferences to store the alarm details in the first place. Once you figure this out then only you could use the CFPreferences API to achieve what you want.

这篇关于获取报警时间在时钟应用程序中设置使用IOS SDK目标C另一个应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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