Is there any convenient way to determine if a view is loading from an application in the background?
In 3.X, I would rely on viewDidLoad to do the initialization, etc., however, this does not apply to 4.X, since you cannot rely on the viewDidLoad method to be called.
I would like to avoid adding additional flags to detect this in appdelegate, I would prefer to use a reliable way to do this in the UIViewController, but it seems I cannot find anything on the UIViewController life cycle that could help me here.
Any ideas? How do you deal with such situations?
Kaspa source share