What's the difference between all the Selection Segues?

后端 未结 4 1963
执笔经年
执笔经年 2020-11-28 16:57
  • Show
  • Show Detail
  • Present Modally
  • Popover presentation
  • Custom

What is the difference between them? I couldn\

4条回答
  •  [愿得一人]
    2020-11-28 17:51

    The document has moved here it seems: https://help.apple.com/xcode/mac/8.0/#/dev564169bb1

    Can't copy the icons here, but here are the descriptions:

    • 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.

    • Present Modally: Present the content modally.

    • Present as Popover: Present the content as a popover anchored to an existing view.

    • Custom: Create your own behaviors by using a custom segue.

提交回复
热议问题