I'd like to do a specific process when starting the application.
·Starting from the state that the application is completely closed
·Starting from the state where the application exists in the background
I would like to do different things in the above conditions, but is there any way to determine them?
Please let me know.
If it's just those two,
application:didFinishLaunchingWithOptions:
If is called, "Start from a state where the app is completely closed",
applicationWillEnterForeground:
If is called, it will be "starting from the state that the app is in the background", so you can use these two methods differently.
© 2024 OneMinuteCode. All rights reserved.