how to hide backbar button in navigationbar in iPhone sdk

Posted by Prerak on Stack Overflow See other posts from Stack Overflow or by Prerak
Published on 2010-12-30T04:44:59Z Indexed on 2010/12/30 4:54 UTC
Read the original article Hit count: 182

Hi, In my iPhone App there are three views [ firstView secondView and thirdView}

now I want to put Back Button in navigation bar in thirdview only which should take me to back secondview only

for that i m writting this code in first view

self.navigationItem.hidesBackButton:NO;

and it shows the back button in both the views secondView and thirdView

what I should do to hide back button in the the second view?

please Help and Suggest.

thanks.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c