Close iAd interstitial with a Game Controller

98 Views Asked by At

I'm making a Sprite Kit game that fully supports wireless game controllers.

Using one means you won't always be able to touch your screen for some little actions. (For example, if you use an iPad as a TV game console with an HDMI cable and a game controller playing from a couch)

On a stage of adding ads to the game, I stumbled on this question:

Is there any way at all to close iAd interstitial with a MFi Game Controller?

2

There are 2 best solutions below

0
On BEST ANSWER

I guess, there is no way. I decided to not show any ads when using a wireless game controller.

0
On

You probably can't do this with:

[UIViewController requestInterstitialAdPresentation];

You would need to present the ad yourself using a solution based around ADInterstitialAd and it's presentInView: method. I.e. create a custom UIViewController, you then have full control.

The requestInterstitialAdPresentation solution is for simple situations, if you need more you need to build it yourself.