Iphone OS 4.0: application does not fit applicationDidBecomeActive

I recently switched my application to SDK 4.0. Now I am compiling my application with SDK 4.0 in order to deploy OS 3.0. and I came across a strange problem / error.

Several times when my application resumes from the background. it does not call the applicationDidBecomeActive method .... does anyone else encounter a problem?

What is the solution for this?

+3
source share
2 answers

It happened to me too. Until I realized that the call was made in AppDelegate_iPhone, you need to forward it to super, AppDelegate_Shared.

0
source

UIApplicationWillEnterForegroundNotification/UIApplicationDidEnterBackgroundNotification .

:

if ([[UIDevice currentDevice] respondsToSelector:@selector(isMultitaskingSupported)])
{
    ... 
}
0

Source: https://habr.com/ru/post/1754194/


All Articles