Post

Replies

Boosts

Views

Activity

Dynamic Island SwiftUI Animations
Hi! How can I implement swiftUI animations on a dynamic island icon? I want to do this: DynamicIsland() {} compactLeading: { Image("my-icon").shineEffect() } compactTrailing: {   Image("my-icon") } Where in shine effect I start the animation on onAppear: func body(content: Content) -> some View { content     .onAppear() {      startAnimation()     } } In the main app it works, but in the dynamic island it doesn't.
0
1
1k
Nov ’22
Dynamic Island SwiftUI Animations
Hi! How can I implement swiftUI animations on a dynamic island icon? I want to do this: DynamicIsland() {} compactLeading: { Image("my-icon").shineEffect() } compactTrailing: {   Image("my-icon") } Where in shine effect I start the animation on onAppear: func body(content: Content) -> some View { content     .onAppear() {      startAnimation()     } } In the main app it works, but in the dynamic island it doesn't.
Replies
0
Boosts
1
Views
1k
Activity
Nov ’22
Slider inside a dynamic island
Hi! I'm trying to implement a slider inside an expanded dynamic island, but the drag gesture seems to be conflicting with a system "drag right" gesture that dismisses the dynamic island. How can I resolve this conflict?
Replies
1
Boosts
0
Views
1k
Activity
Nov ’22