- Create a new Xcode project with a Single View Application template and with name OnDemandDemo.
- Open Main.storyboard, and add two buttons on the initial view controller.
- Change the title of the first button to Dubai and the second button to Abu Dhabi. When a user clicks on either of these, a screen with images for that city should be displayed.
- Click on the initial view controller, and go to Edit | Embed In | Navigation Controller to embed it in your navigation controller.
- Drag a UIViewController from Object Library and place it beside the initial view controller. The name of this controller will be ImagesViewController.
- Create a segue from the initial view controller to ImagesViewController with the identifier showImages ...