gpt4 book ai didi

ios - reloadRootControllersWithNames 隐藏标题和状态栏,watchkit

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

当尝试使用 reloadRootControllersWithNames 时,在我的所有 View 加载后,它们的标题与状态栏的其余部分一起消失。

Watchkit中是否有指定显示和隐藏状态栏和标题的东西?

代码:

[WKInterfaceController reloadRootControllersWithNames:@[ @"SystolicEntryController", @"DiastolicEntryController" ] contexts:nil];

最佳答案

要回答你的问题,不,目前没有 WatchKit 方法来隐藏或显示状态栏及其标题。

您所描述的体验听起来类似于这个错误(已在 Watch OS 1.0.1 中修复):Apple Watch: Status bar not visible after presenting a modal screen from page based navigation

关于ios - reloadRootControllersWithNames 隐藏标题和状态栏,watchkit,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30625309/

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