gpt4 book ai didi

ios - 为什么我们不能在 Apple Watch Storyboard 中对一个界面 Controller 使用关系转场和 Action 转场(推送)?

转载 作者:行者123 更新时间:2023-11-29 02:18:11 25 4
gpt4 key购买 nike

问题:如果“关系转场”和“ Action 转场”(推送)都已连接,则点击测试按钮后取消 Controller 将不会显示

enter image description here

奇怪的行为:仅当连接了“action segue”(推送)时,才会在点击测试按钮后显示取消 Controller 。但不是“关系转折”。

enter image description here

问题:为什么会这样?

最佳答案

您没有描述那么多,但请注意,分层导航和基于页面的导航是相互排斥的,因此您不能同时使用两者。

“对于包含多个内容屏幕的 WatchKit 应用程序,您必须选择一种在这些屏幕之间导航的技术。WatchKit 应用程序支持两种相互排斥的导航样式。”

https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/InterfaceStyles.html

关于ios - 为什么我们不能在 Apple Watch Storyboard 中对一个界面 Controller 使用关系转场和 Action 转场(推送)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28494807/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com