ipad - Hide back button in MWPhotoBrowser navigationcontroller -


i using mwphotobrowser in arc project. working fine. want hide button. in performlayout() function, tried below code hide button not working.

self.navigationcontroller.navigationitem.backbarbuttonitem = nil; 

or

self.navigationitem.backbarbuttonitem = nil; 

or

self.navigationitem.hidesbackbutton = yes; 

any idea how this?

in mwphotobrowser.m find following line:

self.previousviewcontrollerbackbutton = previousviewcontroller.navigationitem.backbarbuttonitem; 

and change to:

self.previousviewcontrollerbackbutton = nil; 

Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -