ios - Do all UIVIewControllers come with a UINavigationController, UISearchDisplayController, etc? -


i noticed uiviewcontroller have properties like

self.navigationcontroller self.searchdisplaycontroller 

etc. confused me bit. did not define these in xib file - notice can access , use them , automatically show in view. reason having these instantiated view controllers?

what if want define , hook own via xib file?

those values nil default. return values if view controller has been setup corresponding controller.

in other words, if view controller has not been added nav controller navigationcontroller property returns nil. same searchdisplaycontroller.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -