Is anyone else experiencing this problem? My app multitasks just fine until I integrate Openfeint.
It calls applicationWillTerminate() right after applicationWillResignActive(). At first I thought that maybe the app took up too much memory with openfeint so ios killed it, but then I added OpenFeint to an empty project and it won’t multitask either.
AppControler+OpenFeint.mm has the following methods, shouldn’t multitasking be working?
- (void) applicationDidBecomeActive:(UIApplication*)application
{
printf_console("-> applicationDidBecomeActive()\n");
if (gDidResignActive == true)
{
UnitySetAudioSessionActive(true);
UnityPause(false);
}
gDidResignActive = false;
[OpenFeint applicationDidBecomeActive];
}
- (void) applicationWillResignActive:(UIApplication*)application
{
[OpenFeint applicationWillResignActive];
printf_console("-> applicationDidResignActive()\n");
UnitySetAudioSessionActive(false);
UnityPause(true);
gDidResignActive = true;
}
Has anyone else got fast app switching working with OpenFeint??