In the application we are creating, we want to use the UILocalNotifications, which are available only with 4.0.
Verifying that the object responds to the selector is pretty simple, but how can I define delegate methods for a class depending on the OS? The problem is that my application delegate implements
-(void)application:(UIApplication *)application didReceiveLocalNotification:(UILocalNotification *)notification
which causes the application to crash when launched on an iOS 3.2 (ipad) device.
It was not necessary to release several assemblies.
source
share