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

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

sql - PostgreSQL automatically update row at specific date -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -