Handling iAd on iphone?

I have some of the following requirements, I donโ€™t know if we can do this on the iPhone or not. Requirements as

1.Can i open ad in safari browser after click. 2.Can i open ad in application itself in webView. 3.If i open ad in webview in that if i click particular link that link can open in safari browser. 

If anyone knows all this. please, help. I would be grateful. Thanks in advance.

+4
source share
1 answer

This is not how iAd works, with iAd you implement an ad banner, and Apple encourages you to fill in content with which you have VERY limited control.

To do what you ask, I recommend you create your own ad, but not iAd. By doing this, you can do whatever you want (for a reason) when the user clicks on it.

Ref.

 - (void)callUpAd { UIView *myAdSubView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 40)]; //add your ad material here [self.view addSubview:myAdSubView]; } 
+3
source

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


All Articles