I had the same problem and found a solution. If you define the delegate method displayNotificationAlert: of the UAPushNotificationDelegate protocol with an empty body, for example, then automatic warnings will not be displayed:
{ ... [[UAPush shared] registerForRemoteNotifications]; [UAPush shared].pushNotificationDelegate = self; ... } - (void)displayNotificationAlert:(NSString *)alertMessage { }
SoVa_ source share