Show UIAlertView that is same as UIRemoteNotification when app is running in foreground
- by Sidwyn Koh
I understand that we can handle push notifications via the method:
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo
and we can check if the app was running in the foreground:
if (application.applicationState == UIApplicationStateActive ) { ... }
How do we show the exact same notification…