individualPage
individualPage
subTitle
date
Jun 17, 2023
isFolder
isFolder
slug
swiftui_5.0_app_intro_jun23
status
status
tags
iOS 17
Animations
summary
Building a beautiful app intro animation using the new animation end callback API, which has been added for SwiftUI in iOS 17.
type
SwiftUI 5.0
With the release of the new animation end callback modifier, we can create beautiful continuous animations as needed. Previously, there was no way to know when or whether the animation was finished. We used DispatchQueue Delays or other methods to find out, but now it's easy because it's included with the
withAnimation
action block.To show what we can achieve with this new addition, I've added a GIF. Check it out.
For more information about implementation, check out the YouTube video below.