IOS is the first to use Storyboard Prepareforsegue:sender: method to jump multiple pages identifier usage

Source: Internet
Author: User

The use of storyboard sometimes very cumbersome .... The method of passing the value is relatively single. It's still a bit of a headache .... But you know the way it's going to become familiar ... I only do notes do not do technology ....

Here is the push connection click here to add identifier

The identifier of the set, which is the unique identification of the reversed page, when you trigger the corresponding event,

-(void) Prepareforsegue: (Uistoryboardsegue *) Segue Sender: (ID) The sender method uses the identifier property of segue, it will take out the corresponding NSString And then make a judgment ...

Printed results:

Note that this is the identifier that calls segue, not the method that calls segue ... It's going to collapse.

IOS is the first to use Storyboard Prepareforsegue:sender: method to jump multiple pages identifier usage

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.