hyperoslo / Lightbox

:milky_way: A convenient and easy to use image viewer for your iOS app
https://www.hyper.no
Other
1.63k stars 329 forks source link

CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: 'org.cocoapods.Lightbox' #238

Closed Sunny-Aiub closed 4 years ago

Sunny-Aiub commented 4 years ago

CoreUI: RunTimeThemeRefForBundleIdentifierAndName() couldn't find Assets.car in bundle with identifier: 'org.cocoapods.Lightbox'

Sunny-Aiub commented 4 years ago

Solved it by adding let controller = LightboxController(images: [LightboxImage(image: image)]) controller.modalPresentationStyle = .fullScreen present(controller, animated: true)

SonnyMore commented 4 years ago

I have this bug too, but modalPresentationStyle didn't fix it :(

SonnyMore commented 4 years ago

In some screen it helps, but not everywhere.

I found that if you disable animation in presenting - it works. also I try push this controller in navigation controller and it also work but its not a good solution)

amit20897 commented 4 years ago

I'm having the same issue. and your solution solved it for the displaying part, but when I dismiss the LightBoxController it freezes with the same issue (I'm checking on an iPhone Pro Max 13.1 simulator)

10000TB commented 4 years ago

Having same issue on iOS 13.1.1 (built from Xcode 11.2)

ArshwinDenuevLal commented 4 years ago

Disable animation while dimissal inside

LightboxTransition ---> func handlePanGesture( gesture: UIPanGestureRecognizer) LightboxController ---> func headerView( headerView: HeaderView, didPressCloseButton closeButton: UIButton)