为什么我们不能在 Apple Watch Storyboard 中对一个界面控制器使用关系转场和动作转场(推送)?
Why can't we use relationship segue and action segue (push) for one interface controller in Apple watch storyboard?
问题:
如果 "relationship segue" 和 "action segue"(推送)都已连接,则点击测试按钮后将不会显示取消控制器
奇怪的行为:
仅当 "action segue"(按下)已连接时,点击测试按钮后才会显示取消控制器。但不是 "relationship segue".
问题:
为什么会这样?
您没有描述那么多,但请注意,分层导航和基于页面的导航是相互排斥的,因此您不能同时使用两者。
"For WatchKit apps with more than one screen of content, you must choose a technique for navigating between those screens. WatchKit apps support two navigation styles, which are mutually exclusive."
问题: 如果 "relationship segue" 和 "action segue"(推送)都已连接,则点击测试按钮后将不会显示取消控制器
奇怪的行为: 仅当 "action segue"(按下)已连接时,点击测试按钮后才会显示取消控制器。但不是 "relationship segue".
问题: 为什么会这样?
您没有描述那么多,但请注意,分层导航和基于页面的导航是相互排斥的,因此您不能同时使用两者。
"For WatchKit apps with more than one screen of content, you must choose a technique for navigating between those screens. WatchKit apps support two navigation styles, which are mutually exclusive."