From 42380d544f26b9530ae1065809f3657b0eca6b20 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 15 May 2024 08:38:23 +0300 Subject: Allow remote notifications on simulator --- Juick/AppDelegate.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Juick/AppDelegate.m b/Juick/AppDelegate.m index 1a4e37b..ac3a04b 100644 --- a/Juick/AppDelegate.m +++ b/Juick/AppDelegate.m @@ -58,9 +58,7 @@ [[UITabBar appearance] setTintColor:[UIColor colorNamed:@"Title"]]; -#if !TARGET_IPHONE_SIMULATOR [self registerForRemoteNotifications]; -#endif NSDictionary *userInfo = launchOptions[UIApplicationLaunchOptionsRemoteNotificationKey]; if (userInfo) { [self parseNotificationPayload:userInfo]; -- cgit v1.2.3