简体   繁体   English

实时应用程序图标,如iOS 7时钟

[英]real time app icon like iOS 7 clock

I saw clock app in iOS 7. Its app icon shows time on the icon itself. 我在iOS 7中看到了clock app。它的app图标显示了图标本身的时间。 User don't even have to peep inside the icon to see the time. 用户甚至不必在图标内窥视以查看时间。 How to achieve this ? 怎么做到这一点?

Apple always had some cool private APIs which we developers aren't allowed to use in production Apps, the animated App-Icon is one of them. Apple总是有一些很酷的私有API,开发人员不允许在生产应用程序中使用它们,动画App-Icon就是其中之一。 Most of the time it's to save the experience for the user. 大部分时间都是为用户保存体验。 Imagine every App uses an auto-updating Icon. 想象一下,每个应用程序都使用自动更新图标。 The battery-life would go down and it would be a mess on the homescreen when everything is moving and blinking. 电池寿命会下降,当所有东西都在移动和闪烁时,它会在主屏幕上变得一团糟。

I think there is no way for developers to use this with Apple Public API as what i think you leave the home screen with moving icons on all the time as This kind of thing may kills batteries very fast as Moving clock icon needs to update every second. 我认为没有办法让开发人员将它与Apple Public API一起使用,因为我认为你总是会在主屏幕上留下移动的图标,因为移动时钟图标需要每秒更新一次这种事情可能会非常快速地杀死电池。 I really wish they'd implement this for us to use with nice way. 我真的希望他们能够以很好的方式实现这一点。

我不认为这对于第三方开发者来说是可能的,即使在iOS 7中也是如此。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM