I'm new to iOS development and I'm currently facing an issue I can't find the answer.
I'm implementing deeplink in our app using Branch.io. Everything works fine except one thing I'm trying to achieve. When the app is resumed to foreground it shows briefly the last screen it was before going to background (through some research I believe the iOS takes a snapshot of the app screen right before entering background).
What I tried
The universal link is received by the method application:continueUserActivity:restorationHandler: in AppDelegate. So there I added the splash screen, but when that method is called the last screen was already visible. So the transition was like last screen -> splash screen -> destination screen. Not the desired solution.
Then I tried, in the method applicationDidEnterBackground: also in AppDelegate, to add the splash screen to the window so the snapshot would be that and it worked, but not the way a really wanted. The app-switcher would use that snapshot too, and also whenever the app come to foreground (wanted just in deeplink case).
The great question
Can I, somehow, show the splash screen when the app come to foreground (and not using the snapshot method) through deeplink call only or is it not possible?