SKPhotoBrowser
SKPhotoBrowser copied to clipboard
No animation when using SwiftUI
When I present it just turns black and show the image with no animation
SKPhotoBrowserOptions.displayHorizontalScrollIndicator = false SKPhotoBrowserOptions.displayVerticalScrollIndicator = false SKPhotoBrowserOptions.enableSingleTapDismiss = true let browser = SKPhotoBrowser(photos: photos) browser.initializePageIndex(0) UIApplication.shared.windows.first?.rootViewController?.present(browser, animated: true, completion: nil)