I’m wanting to have my app (on launch) load a view that I have created over the top of the original view, then when a button is clicked the top view will disappear and show the main view underneath. I know this is terribly simple, but how would I do this? Maybe push the view in viewDidLoad?
I’m wanting to have my app (on launch) load a view that I have
Share
This can be incredibly simple. When the user clicks the button, just do this
Just add the two views in your delegate, and do that in your delegate.
If you prefer, just do it “in” secondViewController! self.view.hidden = YES;
It sounds like you’re just doing something simple …… no need to bother with a view controller.
You ask how to display the second view, just like this ..
Hope it helps!