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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -