objective c - iPhone:navigation bar "back" button clickable = NO? -


i know can hide navigation bar "back" button. dont whant hide ! there way make not clickable ?

try this

    self.navigationitem.leftbarbuttonitem.enabled=no;      self.navigationitem.backbarbuttonitem.enabled=no; 

update:

it seems apple doesn't allow button enable / disable. instead of can hide it.

    self.navigationitem.hidesbackbutton = yes; 

Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -