Skip to content

2.2.0

Choose a tag to compare

@ivanvorobei ivanvorobei released this 27 Oct 04:10
· 2 commits to main since this release
  • Matches the iOS 27 widget gallery: 10° tilt, 16 s cycle, counterclockwise by default, shadow moving on a circle around the card (blur 18, opacity 0.27)
  • One continuous motion for UIKit and SwiftUI: the tilt axis moves evenly around the circle with a constant angle, no kinks at corners, both render identically
  • New PerspectiveView container for UIKit: perspective lives in sublayerTransform, so no zPosition lift, the wrapped view's own state is untouched, and Reduce Motion and dark mode apply live
  • Reduce Motion keeps a static tilt in both UIKit and SwiftUI
  • SwiftUI keeps the phase when the duration changes
  • Deprecated: UIView.applyPerspective(_:), resetPerspective(), PerspectiveCorner.random, cycle(_:)