Swift 2.2 For iOS 8 or later apps to process at startup

Asked 5 months ago, Updated 5 months ago, 14 views

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.

ios swift xcode

2022-09-30 11:13

1 Answers

If it's just those two,


If is called, "Start from a state where the app is completely closed",


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.


2022-09-30 11:13

If you have any answers or tips

© 2023 OneMinuteCode. All rights reserved.