What’s Changed
- Add Solarium title transition by @vistar941 in #5
- Limit Solarium effect to iOS 26 by @vistar941 in #6
Behavior Changes
- On iOS 26 and later, the string-based scrollAwareTitle overloads for StringProtocol, LocalizedStringKey, and LocalizedStringResource now transition with opacity, blur, and vertical movement for iOS 26+ appearance.
- The new animation does not apply on iOS versions earlier than 26, on macOS or Mac Catalyst, or when using the ViewBuilder-based scrollAwareTitle overload. These cases retain the existing fade transition.
- When no custom animation is provided, eligible string-based titles use spring animations with distinct timing for showing and hiding.
- Passing a custom animation continues to override the default animation timing.
- Separately from the animation behavior, navigation title typography now uses a semibold headline style on version 26 and later platforms, with an emphasized body style on earlier versions.
API Changes
- scrollAwareTitleAnimation(_:) now accepts an optional Animation.
- Passing nil restores the built-in animation behavior. The Solarium spring is selected only for string-based titles on iOS 26 and later; other cases use the standard fade animation.
- Existing calls that pass a non-optional Animation remain source-compatible.
Full Changelog: 1.1.1...1.2.0