ios - How to use Storyboards with multiple segues to one view controller? -


My app will use a simple login type selcector visual controller, and with that it will branch out to different view controllers , That is, sign up, sign in, and sign in with the social network. How do I add a single destination view controller from all of these? How do I add these multiple segments?

Each view controller should have its own seq. To create, press "Ctrl" and you want to go to ViewController

Enter the image details here </ P> <p> and every ViewController should implement

  - (zero) Prepare FORSegue: From the sender (UIStoryboardPopoverSegue *) Sender: (ID) Sender {If ([segue.destinationViewController IsKindOfClass: [MyDestinationVC class]]) {// doing something / example MyDestinationVC * screen = (MyDestinationVC *) segue.destinationViewController; Screen.someValue = self.sendedValue; }}    

Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -