Ad supported apps with no internet connection

I am just prepping an ad-supported version of a soon-to-be-released game and just wondering what people do when a device has no internet connection ( either by design, fault or user action to avoid adverts ).

I could easily just put a check in for an internet connection on startup and if one isn’t detected throw up a message and then close the app but would this be rejected by Apple? [import]uid: 5833 topic_id: 16349 reply_id: 316349[/import]

If there’s no network I put up programmatically generated ad banners urging the player to upgrade, in the same size and position as the network ads. That way at least the player still has the “annoyance” of the banner ad and incentive to upgrade, even though the ads themselves don’t generate revenue. Also it maybe gives them less incentive to turn off their network to avoid ads in the first place. Basically they are “house ads” generating by the app itself. Obviously this is only effective if you have a paid version to upgrade to! [import]uid: 9422 topic_id: 16349 reply_id: 60949[/import]

Ah ok yea that makes sense, didn’t think of doing that. I do have a non-ad version as well so can just show a banner for that. Thanks! [import]uid: 5833 topic_id: 16349 reply_id: 60954[/import]

what do you guys do to check for network connectivity ? I’d like to implement similar logic to my ad supported game. [import]uid: 95911 topic_id: 16349 reply_id: 66925[/import]

You could either use sockets to attempt to make a connection to a known site - http://developer.anscamobile.com/reference/index/network - or use the detect network event code - http://developer.anscamobile.com/reference/index/events/detect_network_status [import]uid: 5833 topic_id: 16349 reply_id: 66991[/import]