ios - SWRevealViewController seque disappears navigation controller -


i implemented this tutorial . difference, instead of doing seque talecell viewcontroller.i did entire tableview view controller.on click of table row, call it.

 func tableview(_ tableview: uitableview, didselectrowat indexpath: indexpath) {     performsegue(withidentifier: "showcheckin", sender: self) } 

what happens that, navigation bar item on top disappears.

please create navigation don't use segue.

     swrevealviewcontroller *revealcontroller = self.revealviewcontroller;         [revealcontroller setfrontviewcontroller:rootviewcontroller2 animated:yes];  uistoryboard *storyboard =     [uistoryboard storyboardwithname:@"mainstoryboard" bundle:nil];     rootviewcontroller2 = [storyboard                            instantiateviewcontrollerwithidentifier:@"your_viewcon_name"];      navcontroller = [[uinavigationcontroller alloc]                      initwithrootviewcontroller:rootviewcontroller2];     navcontroller.navigationbar.hidden = yes;      [navcontroller setviewcontrollers:@[ rootviewcontroller2 ] animated:yes];     [[self navigationcontroller] setnavigationbarhidden:yes animated:yes];     [self.revealviewcontroller setfrontviewposition:frontviewpositionleft                                            animated:yes]; 

Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -