call “registerForRemoteNotificationTypes” in “applicationDidBecomeActive”

Is it bad practice to call registerForRemoteNotificationTypes in applicationDidBecomeActive? I was calling it in applicationDidFinishLoading, but with multitasking, the registration was not happening for days to weeks for some users.

I'd like to call the registration more often, but don't want to call it this often if it's bad practice.

11
задан RaffAl 12 March 2014 в 10:55
поделиться