views:

5895

answers:

3

I added a navigation control to swith between Views in my app. But some of the views shouldn't have 'Back'(the previous title) button. Any ideas about how to hide the back button?

+3  A: 

Xcode has a documentation browser, and that browser has a page on UINavigationItem. You'll find your answer there, perhaps with a detour through UIViewController's documentation.

I would also suggest you read this article: How to Ask Questions the Smart Way. I've noticed you ask several questions that you could answer yourself just by reading the documentation. That's kind of frustrating for other developers—we have our own work to do, after all.

Brent Royal-Gordon
Thanks and I cannot open the link. Do you mind to offer me a correct link of the article? I do want some guide on this.
iPhoney
Just do a Google search on the article title and you should be able to find a copy of it.
Brent Royal-Gordon
If everyone just read the documentation, there would be no need for this site.
Andrew
+8  A: 

self.navigationItem.hidesBackButton = YES;

A: 

awesome thanks!

jcpennypincher