Thursday, 16 June 2016

Navigation Controller in iOS - Objective C

1) create single view application
2) click on main.storyboard --> select view controller
3) go to Editor in menu --> EmbedIn --> navigation controller
4) select navigation controller scene, select navigator bar --> change attributes with customization like tint color,bar tint color,title color
5) go to main controller --> drag & drop two buttons
    1) Go to first view button
    2) Go to second view button
6) drag & drop two view controllers in to story board scene
7) Select Main view --> select first button -->control drag towards first controller--> connect segue name as show
8) do the same process for second view controller also
9) Add two UI View Controller subclasses in navigator window and configure them properly with view controller scenes
                                     How to configure 9th step
Select view controller, open identity inspector, Select drop down for the class name--->choose class

No comments:

Post a Comment