UILocalNotification iOS5 issue (warning not displayed)

Is it just me or Apple violated the UILocalNotification mechanism in iOS5 (GM + public release)? This seemed to work well in beta versions, but since GM only plays sound, a warning is not displayed (yes, I checked the notification settings and the application is all-inclusive).

I also made a small separate project (with a new application identifier to be safe) and tested the UILocalNotification class with very simple code, in order:

UILocalNotification *singleLocalPush = [[UILocalNotification alloc] init];

singleLocalPush.fireDate = [NSDate dateWithTimeIntervalSinceNow:15];
singleLocalPush.hasAction = YES;
singleLocalPush.alertBody = @"Alert Body";
singleLocalPush.alertAction = @"Alert Action";

[[UIApplication sharedApplication] scheduleLocalNotification:singleLocalPush];

Does anyone encounter similar problems? This is pretty annoying if your app is associated with local notifications :)

Best, Kacper

+5
1

, -

"- > " , .

iOS 5, 3.1.2.

+1

All Articles