In this article we create a single view application. Here we use storyboard in place of xib. To better understand, follow these steps.
Open XCode by double-clicking on it.
Create a New XCode Project by clicking on it.
Now select Single View Application and click on Next.
Now provide your Product Name and Company Identifier then click on Next.
Select the location where you want to save your project and click on Create.
Now select Story board and perform these steps:
Here first we embed navigation controller to log in button:
Here select the log in button and link it to the navigation controller.
Select action modal.
Story board view:
Now run the application and see the output.
Output 1 in iPhone:
Output 2 in iPhone:
Output 3 in iPhone: