IOS uses storyboard to pass the value prepareForSegue: sender: Method to jump to the use of multiple page identifier, ios developed storyboard
The use of storyboard is complicated sometimes .... the value passing method is relatively simple .. it is still a headache to use .... but when you understand it, you will gradually become familiar with it... I only take notes without technology ....
Click here to add identifier.
Set the identifier, which is the unique identifier of the page for distinguishing the page. When you trigger the corresponding event,
-(Void) prepareForSegue :( UIStoryboardSegue *) segue sender :( id) The identifier attribute of segue is used in the sender method, and the corresponding NSString is retrieved and then judged ......
Printed result:
Note that this is the identifier for calling the segue, not the method for calling the segue... or else it will crash .....