New
v2.0.0
Breaking Changes
- Minimum iOS deployment version bumped to iOS 16 (https://github.com/nandorojo/galeria/pull/78)
Features
- New transition style: Replaced standard UIKit transition (
UIViewControllerAnimatedTransitioning) with a more fluid, interruptible transition (https://github.com/nandorojo/galeria/pull/78) - @gtokman - Page indicators: Added support for page indicators when the gallery contains multiple images (
hidePageIndicatorsprop) (https://github.com/nandorojo/galeria/pull/84) - @gtokman - Blur overlay: Added a blur overay that interpolates as the transitions progress completes (
hideBlurOverlayprop) (https://github.com/nandorojo/galeria/pull/84) - @gtokman - Corner radius interpolation: The presenting image view's corner radius is now respected and smoothly interpolated during the transition (https://github.com/nandorojo/galeria/pull/78) - @gtokman
- Aspect ratio support: The presented image's aspect ratio is now preserved (https://github.com/nandorojo/galeria/pull/78) - @gtokman
- onIndexChange callback: Added
onIndexChangeprop that fires when swiping through the gallery (https://github.com/nandorojo/galeria/pull/55) - @fedorish
Bug Fixes
- Fixed dismiss animation: Swiping to a different image and dismissing now correctly animates back to the current image's position in the grid (https://github.com/nandorojo/galeria/pull/82) - @gtokman
- Fixed interrupted transitions: Interrupting a transition in progress no longer prevents the image from animating back to its origin (https://github.com/nandorojo/galeria/pull/97) - @gtokman
- Fixed image paths without the file:// prefix not being handled correctly (https://github.com/nandorojo/galeria/pull/75) - @gtokman
- Replaced hardcoded color values with dynamic label colors to fully support Liquid Glass (https://github.com/nandorojo/galeria/pull/81) - @richardkunkli
- Moved close button (
UIBarButtonItem) to the right side (https://github.com/nandorojo/galeria/pull/82) - @gtokman - Fixed low-resolution image display after presenting (https://github.com/nandorojo/galeria/pull/82) - @gtokman
- Safe area is now respected for images with tall aspect ratios (https://github.com/nandorojo/galeria/pull/82) - @gtokman
- Image loader: Update
URLSessionImageLoadertoSDWebImageLoaderfor better performance (https://github.com/nandorojo/galeria/pull/62) - @fedorish