gpt4 book ai didi

ios - 在 watch 套件中添加 Page Base Navigation

转载 作者:塔克拉玛干 更新时间:2023-11-02 10:02:42 24 4
gpt4 key购买 nike

被页面基础导航卡住了。我添加了与三个接口(interface) Controller 的关系,如下图所示,这不是主入口点。我正在以编程方式从其他界面 Controller 调用日历界面 Controller 。

     [self pushControllerWithName:@"calendarIC" context:nil];

如果我将入口点添加到此界面 Controller ,页面将根据需要添加。但我不想将入口点添加到此 Controller enter image description here

最佳答案

您不能在 WatchKit 中同时使用基于页面和层次结构的界面 Controller 。根据 Apple 文档,它们是相互排斥的。

For WatchKit apps with more than one screen of content, you must choose a navigation style at design time. The navigation style you choose defines how you present and manage interface controllers in your apps. WatchKit supports two interface styles, which are mutually exclusive:

  • Hierarchical
  • Page-based

关于ios - 在 watch 套件中添加 Page Base Navigation,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27522084/

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