iOS 6.0 sdk中的奇怪错误。 Apple承诺通过api提供完整的提醒支持,允许第三方应用程序代表用户读写提醒。 SDK中有一些新的方法用于init storekit以用于提醒。
但似乎是让它成为可能的主要方法 - 只是不存在。 GM版本的XCode 4.5和模拟器/ ios-6升级设备都显示SDK中不存在EKEventStore:initWithAccessToEntityTypes
并尝试使用
Error invoking method 'EKRemsIsGranted' on 'CEKtils' because
-[EKEventStore initWithAccessToEntityTypes:]: unrecognized selector sent to instance 0x13a59140
有趣的是,MacOs 10.8中也提到并描述了这种方法 但在iOS sdk中它是mentioned but NOT described
似乎苹果开发者忘了在iOS上“启用”它。是否有可能或我遗失了什么?