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

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -