summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-05-15 08:38:23 +0300
committerGravatar Vitaly Takmazov2024-05-15 08:38:23 +0300
commit42380d544f26b9530ae1065809f3657b0eca6b20 (patch)
treef64d18fc35434879c2a2204b734ce69d480fe4d8
parent985a04a0d07cf399dac67e8601fbb8b4de9a571e (diff)
Allow remote notifications on simulator
-rw-r--r--Juick/AppDelegate.m2
1 files changed, 0 insertions, 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];