I am new to iOS programming.I am building my first game and I want to use 2 UIViewControllers in my storyboard.
First ViewContoller --> for Menu Options, say "MenuViewController".
Second ViewContoller --> for the game, say "GameViewController".
What I want is when a user clicks on "PLAY" button in MenuViewContoller, GameViewContoller should allocate, and after a certain event has occurred in GameViewController, MenuViewController should appear and GameViewController should deallocate.
Any help would be appreciated.
Thanks.