reloadRootControllersWithNames 隐藏标题和状态栏,watchkit
reloadRootControllersWithNames hides title and status bar, watchkit
尝试用户 reloadRootControllersWithNames
时,在我的所有视图加载后,它们的标题与状态栏的其余部分一起消失。
在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
尝试用户 reloadRootControllersWithNames
时,在我的所有视图加载后,它们的标题与状态栏的其余部分一起消失。
在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