Home app icon animated in Swift

How can I animate home app icon using swift, e.g. like iOS calendar date?

Replies

Look into using badges/notifications https://developer.apple.com/notifications/


Otherwise, no, I don't think your app can animate it's icon.

You can use the new setAlternativeIconName API (iOS 10.3 or later) to change the home screen icon. I don't think you can animate it (like the Clock icon).

I don't think you can animate it (like the Clock icon).

Correct. Clock and Calendar are built-in apps and thus can use facilities outside of the iOS SDK.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"