2026-10-27 07:11 UTC
SwiftUI’s new onHingeChange() modifier in iOS 27.1 reports the hinge angle as iPhone Duo folds and unfolds, which is great for interactions and visual effects that respond to the folding motion itself. In my new post, I show how we can use it to drive an animation: https://nilcoalescing.com/blog/DrivingSwiftUIAnimationsWithTheHingeAngleOnIPhoneDuo/
#iOSDev #SwiftUI
Replies (0)
No replies.