简体   繁体   English

iOS 6.0中的提醒API

[英]Reminder API in iOS 6.0

Strange bug in iOS 6.0 sdk. iOS 6.0 SDK中的奇怪错误。 Apple promised to deliver full reminder support via api, to allow thirdparty applications to read and write reminders on behalf of user. 苹果承诺通过api提供全面的提醒支持,以允许第三方应用程序代表用户读取和编写提醒。 There is new methods in SDK to init storekit for use with reminders. SDK中有新的方法可以初始化用于提醒的storekit。

But seems like main method to make it possible - just not present. 但似乎是使之成为可能的主要方法-只是不存在。 Both GM version of XCode 4.5 and simulator/ios-6 upgraded device shows that EKEventStore:initWithAccessToEntityTypes is not present in SDK and attempt to call it on device/simulator crashing application with GM版本的XCode 4.5和模拟器/ ios-6升级的设备均显示EKEventStore:initWithAccessToEntityTypes在SDK中不存在,并尝试在设备/模拟器崩溃的应用程序上使用

Error invoking method 'EKRemsIsGranted' on 'CEKtils' because 
-[EKEventStore initWithAccessToEntityTypes:]: unrecognized selector sent to instance 0x13a59140

Interesting that this method is also mentioned and described in MacOs 10.8 but in iOS sdk it is mentioned but NOT described 有趣的是,在MacOs 10.8中也提到并描述了此方法,但在iOS SDK中却提到了但未描述

Seems like apple devs forgot to "enable" it on iOS. 似乎苹果开发人员忘记了在iOS上“启用”它。 is it possible at all or I missing something? 有可能还是我错过了什么?

There's a description of the event (and some other useful information) here. 这里有关于事件的描述(以及一些其他有用的信息) You might also double-check that your UIEventKit framework is properly linked and up to date. 您还可以仔细检查UIEventKit框架是否已正确链接并且是最新的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM