Is eventKit supported in IOS 3.0
Is eventKit is not supported on 3.0 - it's giving me this message below on my 3.0 iPhone
dyld: Library not loaded: /System/Library/Frameworks/EventKit.framework/Eve开发者_JS百科ntKit
Referenced from: /var/mobile/Applications/B50DB029-19WE-481A-9090-3748EC4DD415/abc.app/abc
Reason: image not found
Data Formatters temporarily unavailable, will re-try after a 'continue'. (No memory available to program now: unsafe to call malloc)
Please let me know how to resolve this.
Appreciate it
EventKit is introduced in 4.0 so you can't use it in prior OS version. You still can however run your application on old systems without functions provided by that framework. For that you must do the following:
In your target settings go to "Link Binary with Libraries" section and set link option for EventKit.framework to "Optional" (it is required by default) - that way you'll avoid loading library error
Perform run-time checks if eventkit apis are available to make sure that you won't call them on devices running 3.x OS
EventKit was introduced in iOS 4.0.
精彩评论