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

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -