objective-c - 在 iPad 上打开模态视图两次

标签 objective-c xcode ios

我可以从现有打开的模态视图中打开模态视图吗?这是否违反苹果的政策?

最佳答案

是的,可以从现有模态视图打开模态视图。我认为这不违反 Apple 政策。然而,Apple 确实声明应该使用模态视图来打破流程:

Use them to gather information from the user immediately.
Use them to present some content temporarily.
Use them to change work modes temporarily.
Use them to implement alternate interfaces for different device orientations.
Use them to present a new view hierarchy with a specific type of animated transition (or no transition)

如果您想从现有模态视图中显示另一个模态视图,则意味着另一个流程最好放在导航 Controller 中。

关于objective-c - 在 iPad 上打开模态视图两次,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6000190/

相关文章:

xcode - 在 React Native 应用程序中为 Fabric crashlytics 日志添加导入文件后,在 Xcode 中找不到 RCTLog.h 文件错误

ios - Xcode 10.2 : Internal error when debugging app

objective-c - 我们可以在 objective c 中使用接口(interface)和实现文件吗?

ios - 像藤蔓一样的导航 Controller

ios - 图像选择器 Controller 自定义背景

ios - 在 Swift 中的 TableView 和另一个 ViewController 之间传递数据

ios - 如何使用GLKit绘制线条(线框)?

ios - 如何让状态栏始终在最前面?

ios - 我想保存应用程序,这样当用户退出时,用户返回时 uitextfields 不会删除为文本

ios - 将 base64string 发送到服务器但服务器获取损坏的数据