I'm trying to animate background image sitting in a glance. Though this approach works in an app, it doesn't for a glance:
@IBOutlet var iconGroup: WKInterfaceGroup!
override func willActivate() {
super.willActivate()
iconGroup.setBackgroundImageNamed("icon")
iconGroup.startAnimatingWithImagesInRange(NSRange(location: 0, length: 8), duration: 0.3, repeatCount: 1000)
}
Does it at all work in a glance? Or what am I doing wrong?
Edit
According to Apple docs it should be possible:
You can use animated image sequences in your glance and notification interfaces.