elongation-preview
elongation-preview copied to clipboard
Does It work With Navigation Controller?
Hey like your work ! Just does it with Navigation Controller? because can't get it working !
Thanks
Hey @Tarektouati! How are you? What is your error?
I cant get it working with Tabbar, I believe it is a similar error with Tarektouati. My error message:
Can't get ElongationViewController
from UINavigationController nor from context's viewController itself.
Oh I actually just get this problem solved! Since the ElongationViewController is embedded into NavigationViewController or TabBarViewController, ElonggationTransition class's root method cant get access to the ElongationViewController. In my situation, I implemented UITabBar, I manually returned the ElongationViewController:
let tabbarController = UIApplication.shared.keyWindow?.rootViewController as! UITabBarController return tabbarController.viewControllers![1] as! ElongationViewController
@Tarektouati i did the same thing in my app. ;)
@TDClash Can you tell where should i manually edit your code?? I want to use elongation preview with tabbar but could not solve it
I'll look on this issue soon, was busy on a project. Sorry.
Actually, there are closed issue #3 just like this one. Maybe it'll help someone, but here we need some refactoring.
@Jauzee Any on going process about this issue? I really need a solution from you :)
@WrathChaos actually we have pushed 1.1.0 version with fix for UITabBarController
, but currently I can't push Pod update because I can't receive authentication email from @Cocoapods
Please checkout the repo manually and check how it works now.
If your issue wasn't fixed, please give me more details about your screens flow.
Come avete risolto? Mi aiutate per favore. Ho inserito la libreria nel mio progetto ma mi dice Can't get ElongationViewController
from UINavigationController nor from context's viewController itself. Grazie da Stefania