Apple Watch App 仅显示时钟
Apple Watch App Only Showing Clock
Xcode 指出 Apple Watch 是 运行 但我只看到时钟。我的故事板界面应该有绿色背景。 slog 中没有显示任何内容。
- (void)awakeWithContext:(id)context {
[super awakeWithContext:context];
NSLog(@"hello world");
}
删除故事板并将其重新添加到应用程序部分后,NSLog 现在再次显示结果,Apple Watch 再次显示故事板。
Xcode 指出 Apple Watch 是 运行 但我只看到时钟。我的故事板界面应该有绿色背景。 slog 中没有显示任何内容。
- (void)awakeWithContext:(id)context {
[super awakeWithContext:context];
NSLog(@"hello world");
}
删除故事板并将其重新添加到应用程序部分后,NSLog 现在再次显示结果,Apple Watch 再次显示故事板。