简体   繁体   中英

how can i place swrevealview as a third view controller,if we make swrevealview as a initial view controller its working

在此处输入图片说明

this code is for the item button.if we click it this code have to run but for me not entered into it while i make it as a third view controller.

 if ( revealViewController )
        {
            [self.sidebarbutton setTarget: self.revealViewController];
             NSLog(@"sidebar=%@",sidebarbutton);
            [self.sidebarbutton setAction: @selector(revealToggle:)];

            [self.view addGestureRecognizer:self.revealViewController.panGestureRecognizer];
        }

step-1

add your signup view controller to UINavigationController 在此处输入图片说明

Step-2

在此处输入图片说明

Step-3

when your sign up process is completed , call the segue

 [self performSegueWithIdentifier:@"youridentifierName" sender:self];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM