Search code examples
iosxcode4

How to hide uinavigationbar?


I have added uinavigation bar from the object library xCode(drag and drop) but I am not able to hide it when necessary, the main thing is I not able to connect it. Please help me, i searched every where and every one are talking about uinavigationcontroller's bar.


Solution

  • Why you cannot connect the outlet to your own navigation bar?.. you can. Check if your xib having correct file owner. Check out my screenshot too..

    enter image description here