Overriding AppDelegate (ios)

Hello everyone,

I need to override some AppDelegate methods related to Notifications.
My problem is, Lime probably have it’s own AppDelegate so I can’t replace it safely (anyway I’m not even sure replacing the appdelegate at run time is possible).
But I can’t find the AppDelegate class anywhere…

I need to add code in those three methods :

  • didRegisterForRemoteNotificationsWithDeviceToken
  • didFailToRegisterForRemoteNotificationsWithError
  • didReceiveRemoteNotification

how could I do that ?

I’ve heard of categories, but I need to find the AppDelegate.h first, and, nowhere to be found (except a NMEAppDelegate reference in
legacy, but not in next, so, no AppDelegate are used at all in the new lime version ?)

Thanks.

You can check out how I did it.

Thank you very much, I think that’s exactly what I was trying to achieve!