SKPhotoBrowser icon indicating copy to clipboard operation
SKPhotoBrowser copied to clipboard

No animation when using SwiftUI

Open buluoray opened this issue 3 years ago • 0 comments

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)

buluoray avatar Apr 06 '21 03:04 buluoray