几种segue的使用场景
来源:互联网 发布:stm32串口接收数据 编辑:程序博客网 时间:2024/05/01 20:31
最为刚入门的菜鸟,我也有这同样的疑问,只是刚刚搜索其他问题时看到了这个疑问,赶紧收藏下来。
参考链接:http://stackoverflow.com/questions/26287247/does-anyone-can-explain-the-difference-between-segues-show-show-detail-presen
Refer this link
- Show - Pushes the destination view controller onto the navigation stack, moving the source view controller out of the way (destination slides overtop from right to left), providing a back button to navigate back to the source - on all devices.
Example: Navigating inboxes/folders in Mail.
- Show Detail - Replaces the detail/secondary view controller when in a UISplitViewController with no ability to navigate back to the previous view controller.
Example: In Mail on iPad in landscape, tapping an email in the sidebar replaces the view controller on the right to show the new email.
- Present Modally - Presents a view controller in various different ways as defined by the Presentation option, covering up the previous view controller - most commonly used to present a view controller that animates up from the bottom and covers the entire screen on iPhone, but on iPad it’s common to present it in a centered box format overtop that darkens the underlying view controller.
Example: Tapping the + button in Calendar on iPhone.
- Popover Presentation - When run on iPad, the destination appears in a small popover, and tapping anywhere outside of this popover will dismiss it. On iPhone, popovers are supported as well but by default if it performs a Popover Presentation segue, it will present the destination view controller modally over the full screen.
Example: Tapping the + button in Calendar on iPad (or iPhone, realizing it is converted to a full screen presentation as opposed to an actual popover).
- Custom - You may implement your own custom segue and have complete control over its appearance and transition.
0 0
- 几种segue的使用场景
- segue的几种模式
- Segue的几种常用种类
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- redis常见的几种使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- 几种加密算法的使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- RabbitMQ的几种典型使用场景
- Redis 常见 的几种使用场景
- InFusion错误类型分析
- 指定viewcontroller的entrypoint
- 最长公共子序列问题 Longest Common Subsequence problem
- 高德地图 react-native(一)
- Increasing Triplet Subsequence
- 几种segue的使用场景
- 【OVS2.5.0源码分析】datapath之netlink
- 兄弟会第六天上课笔记
- 七款代码味道识别工具【简介】
- 软件设计度量工具inFusion(一):inFusion的基本概念
- 软件设计度量工具inFusion(二):看懂inFusion度量结果
- nodejs中exports与module.exports的区别详细介绍
- 2016.9.13
- 【OVS2.5.0源码分析】sFlow实现分析(2)