zoukankan      html  css  js  c++  java
  • segues的类型

    Name

    Interface Builder symbol

    Description

    Show

    ../Art/SB_H_segue_push_2x.png

    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

    ../Art/SB_H_segue_push_2x.png

    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

    ../Art/SB_H_segue_modal_2x.png

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

    Present as Popover

    ../Art/SB_H_segue_popover_2x.png

    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

    ../Art/SB_H_segue_custom_2x.png

    Create your own behaviors by using a custom segue.

    Push (Deprecated)

    ../Art/SB_H_segue_push_2x.png

    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)

    ../Art/SB_H_segue_modal_2x.png

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

    Popover (Deprecated)

    ../Art/SB_H_segue_popover_2x.png

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

    Replace (Deprecated)

    ../Art/SB_H_segue_replace_2x.png

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

  • 相关阅读:
    编程实现折半法查找
    浅谈C++多态性
    纯虚函数的使用汇总
    虚函数如何实现多态 ?
    重载(overload),覆盖(override),隐藏(hide)的区别
    Qt入门之常用Qt标准对话框之QMessageBox
    Qt5学习笔记(5)——列表框QListWidget类
    python 文件的方法
    python---while循环
    python ---strip()方法,split()方法,删除字符串开头或结尾,字符串分隔
  • 原文地址:https://www.cnblogs.com/lelun/p/5696993.html
Copyright © 2011-2022 走看看