在 UINavigationController 中嵌套 UISplitViewController
我想要一个看起来像分割视图的根级控制器,但我也希望允许详细视图基本上占据整个屏幕(横向和纵向) - 而不是作为模态视图。
通过上下文,我的 iPad 应用程序在主视图中向用户显示实验列表(从传感器采样的数据集合)。选择实验会使实验的详细信息(例如标题、采样率等)显示在详细视图中。但我还希望能够点击详细视图中的按钮并转换到全屏图表,例如数据与时间的关系图。
所以,我想知道是否有人这样做过。我已经尝试过其他方式( splitviewcontroller 的详细视图中的 uinavigationcontroller ),但这似乎不允许全屏显示。
提前致谢。
I would like to have a root level controller that appears to be a splitview but I would also like to allow the detail view to essentially take over the entire screen (in both landscape and portrait orientation) - and not as a modal view.
By way of context, my iPad app shows the user a list of experiments (collections of data sampled from sensors) in the master view. Selecting an experiment causes details of experiment (e.g., title, sample rate, etc.) to be displayed in detail view. But I would also like to be able to tap on a button in the detail view and transition to a full-screen graph of, for example, data vs. time.
So, I am wondering if anyone has done this. I already have tried it the other way (uinavigationcontroller within detail view of splitviewcontroller) but that doesn't seem to allow for the full-screen aspect.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为具有全页面样式的模态视图叠加将为您提供您想要的。
重叠模态视图控制器的默认样式将占据整个屏幕(它不会是弹出窗口。)
I think that a modal view overlay with a full page style would give you what you want.
The default style for the overlaid modal view controller will take up the entire screen (it won't be a popup.)