ios - How to switch between view controllers with animation on button click in SWRevealViewControllers -


i want go first view controller second when click on button animation bottom top.

this sample code:

uistoryboard *storyboard = [uistoryboard storyboardwithname:@"main" bundle:nil];  alkahanaviewcontroller *rootviewcontroller = [storyboard instantiateviewcontrollerwithidentifier:@"alra3aya"];  uinavigationcontroller *navcontroller = [[uinavigationcontroller alloc] initwithrootviewcontroller:rootviewcontroller]; [navcontroller setviewcontrollers: @[rootviewcontroller] animated: yes];  [self.revealviewcontroller setfrontviewcontroller:navcontroller];  [self.revealviewcontroller setfrontviewposition: frontviewpositionright animated: yes];  


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -