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
Post a Comment