Hello,
I have integrated AdMob in my iPhone application.
I am adding an Ad view in of my UIViewController as follows:
ProgrammaticAdViewController *temp = [[ProgrammaticAdViewController alloc] init];
temp = [[ProgrammaticAdViewController alloc] initWithNibName:nil bundle:nil];
[self.view addSubview:temp.view];
So, I will be able to see an Ad view on top of my UIViewController.
Now I have two problems:
I am not able to tap on certain buttons of my UIViewController on which I have added the Ad View. So, for temporary purpose I adding the Ad view as:
[self.view insertSubView:temp.view atIndex:1];
I want to remove the Ad view after sometime so I am using:
[temp.view removeFromSuperView];
But my Ad view is not being removed.
Please help me.
Regards, Pratik