Jump types between iOS scene-Segue and iossegue

Source: Internet
Author: User

Jump types between iOS scene-Segue and iossegue

2017-04-01

 

Segue can be used independently between scene or with the navigation stack of NavigationController.

Segue icon

Name

Instructions for use

 

Show

In the presence of NavigationController, Show is equivalent to the Push type of the old version, and the Controller connected by segue is pushed into the navigation stack. The press-in mode depends on the current Controller (initiator) Status: if the current view is master-detail, the peer is pushed to the detail region; if the current view is master, detail, the peer is pushed into the navigation stack of the master and detail views.

 

Show Detail

This type is stack-free. No matter whether there is NavigationController, it only replaces the current view with replace. If the current view is master-detail, it replaces the original view in the detail area; if the current view is master, the detail View replaces the master. The detail View navigation stack is located at the top of the stack controller.

 

Present Modally

This type is non-stacked and displayed in mode, similar to the pop-up warning window and login box view.

 

Present as Popover

This type does not press the stack, similar to the drop-down menu

 

Custom

Can be used for customization

Official documentation link: https://help.apple.com/xcode/mac/8.2/index.html? LocalePath = en. lproj #/dev564169bb1

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.