码迷,mamicode.com
首页 > 其他好文 > 详细

segues的类型

时间:2016-07-22 21:31:44      阅读:169      评论:0      收藏:0      [点我收藏+]

标签:

Name

Interface Builder symbol

Description

Show

技术分享

Present the content in the detail or master area depending on the content of the screen. If the app is displaying a master and detail view, the content is pushed onto the detail area. If the app is only displaying the master or the detail, the content is pushed on top of the current view controller stack.

Show Detail

技术分享

Present the content in the detail area. If the app is displaying a master and detail view, the new content replaces the current detail. If the app is only displaying the master or the detail, the content replaces the top of the current view controller stack.

The symbol is the same as the one for a Show segue.

Present Modally

技术分享

Present the content modally. Choose a presentation style (UIModalPresentationStyle) or a transition style (UIModalTransitionStyle).

Present as Popover

技术分享

Present the content as a popover anchored to an existing view. Specify the possible directions of the arrow shown on one edge of the popover view (UIPopoverArrowDirection), and specify the anchor view.

Custom

技术分享

Create your own behaviors by using a custom segue.

Push (Deprecated)

技术分享

Present the content by pushing it onto the current stack of view controllers.

The symbol is the same as the one for a Show segue.

Modal (Deprecated)

技术分享

Present the content modally on top of the existing screen. The options are the same as Present Modally.

Popover (Deprecated)

技术分享

Present the content as a popover. The options are the same as Present as Popover.

Replace (Deprecated)

技术分享

Replace the top view controller on the screen with the new content.

segues的类型

标签:

原文地址:http://www.cnblogs.com/lelun/p/5696993.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!