How to Hide MasterView in UISplitViewController in iOS -


when touched webview added in detailview, hide master view in landscape

i using xamarin.ios c#, couldnt that..

https://forums.xamarin.com/discussion/3578/uisplitview-comes-up-in-landscape-with-master-view-hidden

i followed here.. didnt me..

how hide-show when touch screen of detailview..

add method appdelegate.m , user when need detialview diplay.

-(void)setdetailview:(int)num listofarray :(nsarray *)arr didselectviewcontroller:(uiviewcontroller *)viewcontroller diffclassid:(nsstring *)strid     {         if ([viewcontroller iskindofclass:[detailviewcontroller class]])         {             detailviewcontroller *viewdetail = [[detailviewcontroller alloc] initwitharticle:num inarticlesarray:arr];             viewdetail.navigationitem.leftbarbuttonitem = splitviewcontroller.displaymodebuttonitem;             viewdetail.navigationitem.leftitemssupplementbackbutton = no;              detailnav=[[uinavigationcontroller alloc]initwithrootviewcontroller:viewdetail];             //detailnav=[detailnav initwithrootviewcontroller:viewdetail];              nsarray *viewcontrollers = [[nsarray alloc] initwithobjects:mainnavcontroller, detailnav, nil];             splitviewcontroller.viewcontrollers=viewcontrollers;     } 

Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -