How to Add MainWindow.Xib in iPhone

Step 1

Click on the project's icon.

Click-on-project-in-iPhone.png

Step 2

Right-click on it and add New File.

Select-new-file-in-iPhone.png

Step 3

Now select User interface and select "Window" then click "Next".

Select-window-in-iPhone.png

Step 4

Now select the "iPhone" Device Family.

Select-device-family-in-iPhone.png

Step 5

Now save it with the new name MainWindow and click on Create.

save-as-mainwindow.xib-in-iPhone.png
Step 6

Now MainWindow.Xib add in the project file folder:

select-info.plist-in-iPhone.png

Now we click on CalendarApp info.plist file to add window in the project.

Step 7

Here select any info.plist file then ''+'' will be appear. Click on "+" icon then Select Main nib file base name from drop down menu.


add-main-window-nib-in-iPhone.png

Step 8

Now enter MainWindow in the right-side column.

write-main-window-in-iPhone.png

Step 9

Now here we see Mainwindow in the project.

Main-nib-base-file-name-in-iPhone.png

It is useful for window based Project.

Up Next
    Ebook Download
    View all
    Learn
    View all