Lee
Lee

Reputation: 4046

iOS - UILocalNotification do not turn on screen

Is it possible to have a notification displayed using a UILocalNotification appear in the lock screen when the screen is locked, but to not turn on the screen to display the notification?

The use case here is that I'd like to have the notifications seen when the user turns on their screen but the screen should not turn on when notifications are actually fired.

Upvotes: 0

Views: 159

Answers (1)

sunkehappy
sunkehappy

Reputation: 9091

The answer is no. You can not change the way UILocalNotification works. Either you don't use it or you accept its working way.

And the way UILocalNotification works is reasonable. At lease I think so.

Upvotes: 2

Related Questions