如何在Apple Watch状态栏中隐藏或删除时间? [英] How to hide or remove the time from the Apple Watch status bar?

查看:517
本文介绍了如何在Apple Watch状态栏中隐藏或删除时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在应用程序的Apple Watch状态栏屏幕上隐藏或删除小时钟?

How do I hide or remove the small clock from Apple Watch statusbar screen on my app?

我在网上搜索了此内容,但一无所获!

I searched the web for this but found nothing!

我刚刚发现,如果您删除时钟,Apple会拒绝您的应用程序,但是我的应用程序本身就是表盘,不需要显示该时间.

I just discovered that Apple will reject your app if you remove that clock, but my app is a watch face itself and doesn't need to display that time.

推荐答案

正如您所指出的那样,尝试隐藏或删除状态栏中的时间将使您的应用被拒绝.

As you pointed out, trying to hide or remove the time from the status bar will get your app rejected.

由于Apple不允许开发人员创建自定义表盘(即使在watchOS 3中也是如此),因此尚无法完成您想做的事情.

There's no way to accomplish what you want to do yet, since Apple doesn't permit developers to create custom watch faces (even in watchOS 3).

更新:

供您参考,状态栏上没有出现时间的唯一情况是模态演示同时具有左右栏按钮标题.这通常不会发生,但会在听写过程中发生-文本输入控制器在状态栏的左侧显示一个 Cancel 按钮,在状态栏的右侧显示一个 Done 按钮.

For your information, the only situation when the time does not appear on the status bar is when a modal presentation has both a left AND a right bar button title. This usually does not occur, but will happen during dictation -- the text input controller shows a Cancel button on the left and a Done button on the right of the status bar.

在破解标题栏(或使用私有API)时, 不会 使您的应用获得批准,但您可能会考虑采用一种隐藏"状态栏的方式本身,或其他任何不会显示时间的模式视图的正确标题.

While hacking the bar titles (or using a private API) wouldn't get your app approved, you might look into a way of "hiding" the status bar itself, or the right title of any other modal view which doesn't happen to show the time.

我只是指出这些情况,以防您只是想制作一个供自己使用的特定应用程序.由于Apple会拒绝违反要求的应用程序,因此,我不鼓励您浪费时间尝试制作自己知道会被拒绝的应用程序.

这篇关于如何在Apple Watch状态栏中隐藏或删除时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆