registerForRemoteNotificationTypes causes app to exit immediately
Posted
by esilver
on Stack Overflow
See other posts from Stack Overflow
or by esilver
Published on 2010-05-01T03:32:39Z
Indexed on
2010/05/01
3:37 UTC
Read the original article
Hit count: 390
iphone
|apple-push-notifications
I'm seeing behaviour on my iPhone where debug builds immediately exit after a call to
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert];
The debugger reports it exited with the message
Terminating in response to SpringBoard's termination.
This behaviour doesn't happen on my ad hoc distribution builds. Can anyone explain this behavior?
© Stack Overflow or respective owner