Resume after ads question

I’m testing inneractive for my latest app on the iPad ,and when the ad is tapped the appropriate webpage or iTunes page opens, but when I exit that I don’t return to my app, I return to iPad main screen. When I select my app from there my app restarts instead of resumes. Is there a way to change this behavior so that upon closing whatever ad has opened, the game automatically resumes?

I was looking at the console readout in xCode to see if I received a suspend message or not when I tapped the ad, instead I received this:

Warning: Libinfo call to mDNSResponder on main thread

Any thoughts? [import]uid: 64596 topic_id: 19781 reply_id: 319781[/import]

Hey @shane, if I understood you well, have you inserted into your build.setting files the following line?

[lua]iphone =
{
plist =
{
UIApplicationExitsOnSuspend = false
},
},[/lua]

as this line tells the system to not “reset” your app, just restart it when open again from the part where it was before be closed.
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19781 reply_id: 76653[/import]

Rodrigo,

Thanks for the response. I really thought that would work, but after adding it, rebuilding, and retrying it on the device I still get the same results (though without the same warning).

Did some digging and it looks like the OS on this iPad (borrowed) is iPhone OS 3.2.1. Something I read today suggests that’s too old for multitasking. Don’t know if that could be the problem.

-Shane [import]uid: 64596 topic_id: 19781 reply_id: 76664[/import]

Hi @Shane,

Maybe the OS would be really your problem. Sorry for not helping at all but I would be glad if you get this issue solved and post here the “real problem”.
Cheers,
Rodrigo.

[import]uid: 89165 topic_id: 19781 reply_id: 76673[/import]

No, Rodrigo, you did help. I would have needed that step eventually. It did turn out to be the operating system. I just finished updating to the latest OS and everything works. Thanks again! [import]uid: 64596 topic_id: 19781 reply_id: 76678[/import]

WOW!

@Shane, Thanks for the input!

I am glad you got it working finally! And even better: Found the real “bug”. :slight_smile:
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19781 reply_id: 76679[/import]

For the record… The iPhone’s ability to multi-task, or put an app into suspension and resume started with iOS 4.0. Any iOS version older than 4.0 will do a hard exit and restart.

[import]uid: 19626 topic_id: 19781 reply_id: 76728[/import]

@robmiracle - Good info to keep too. Thanks!
Happy New Year 2012 for you & family!

Cheers,
Rodrigo.

[import]uid: 89165 topic_id: 19781 reply_id: 76731[/import]