I put together an application with a basic SDK 4.0 for IPhone 4.0, the goal of deployment on iPhone OS 3.0. This app contains a new OS 4.0 feature: local notification.
It works well on iPod 2G with OS 4.0; however, it crashes every time the application launches on the iPhone 1G with OS 3.0. It looks like this error in the checklist:
"dyld: Symbol not found: _OBJC_CLASS _ $ _ UILocalNotification Link from: / var / mobile / Applications / 73A3FAB1-63AE-4A71-8C6B-932142A728FE / Tapatalk X.app/Tapatalk X Expected in: / System / Library / Frameworks / UIKit .framework / UIKit "
If the UIKit structure is different between SDK3.0 and SDK4.0, why doesn't it tell you when compiling? How can I apply the local notification function in this application, and the application can still work on devices with OS3.0? Thank you
source
share