我可以从现有打开的模态视图中打开模态视图吗?这是否违反苹果的政策?
最佳答案
是的,可以从现有模态视图打开模态视图。我认为这不违反 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/