开发者

Is eventKit supported in IOS 3.0

开发者 https://www.devze.com 2023-03-03 06:35 出处:网络
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

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:

  1. 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

  2. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消