I have 2 UIViews that are totally dependant on AppDelegate file.
First UIView is an Ad page that i have to launch when i start the app. But Already i have made the app with another HomeView that is dependant on AppDelegate.
I am adding AdView as follows in applicationDidFinishLaunching:
[self.view addSubView:AdView.view];
But now I want that when i click DONE button in AdView page I should be navigated to HomeView. But homeView should be a subView of appDelegate
How can i write a code on Done button that will remove AdView totally and bring Home View as a subView of appDelegate?? thanx in advance