• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Responding to APNS registration or failure outside ot UIApplication.m
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Responding to APNS registration or failure outside ot UIApplication.m


  • Subject: Responding to APNS registration or failure outside ot UIApplication.m
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 03 Jun 2016 20:38:24 -0500

Hi all.  Back in my Land of  the Custom iOS Framework™, I'm finally setting up registration for push notification.

I've got the request to register for remote notifications set up, from within the framework, but I'm fresh out of brain cell juice and I'm looking for a way to receive notifications normally sent to UIApplicationDelegate that would would indicate a success or failure of APNS registration.

If my hazy memory serves, Jens indicated that there was a process to get the notification and data that is normally sent to the [[UIApplication sharedApplication] delegate].

In the Framework's manager class, I've got it conforming to UIApplicationDelegate, but I'm as a loss for how to get the notifications in that class.

Is there a way to register for notifications from the NotificationCenter, so I can get the token or registration failure message from within the framework's manager class?

Thanks all.

I need more brain juice.  Lots more.

Alex Zavatone



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Simplest way to generate audio tones?
  • Next by Date: NSFileWrapper
  • Previous by thread: Re: Simplest way to generate audio tones?
  • Next by thread: NSFileWrapper
  • Index(es):
    • Date
    • Thread