In my app at the time app the launches first time there is an animation on first UIViewController for only 5 seconds. The problem is when app launches first time animation starts and Notification enable alert pop's up, so animation is hidden behind the notification enable alert and as soon as user tap ok on notification alert; animation ended. Because of this notification enable alert user can't see full animation. Please provide suggestion how to fix this ? Is there any way to delay notification enable alert to show after some delay ?
Asked
Active
Viewed 1,239 times
1 Answers
1
I'm guessing your requesting authorization for notifications in your didFinishLaunching
(or perhaps somewhere else). Where ever you're doing it just move it to the completionHandler
of the animation and from there add a 5 second delay using asyncAfter.

mfaani
- 33,269
- 19
- 164
- 293
-
How can i show push notification alert box after authentication or any specific page in IOS using react native – Anil Oct 08 '20 at 11:09
-
Sorry, I don’t much about react native – mfaani Oct 08 '20 at 11:13