You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got the following compiler error in code using UIApplication.shared: 'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
For example in HeroTransition+Complete.swift line 90 : UIApplication.shared.keyWindow?.addSubview(isPresenting ? fromView : toView)
General Information
Hero Version: 1.5.0, probably the latest one as well
iOS Version(s): 15.0
Swift Version: 5
Devices/Simulators: iPhone 12 mini
Reproducible in Examples? (Yes/No): No, I could not reproduce it on a brand new project.
The text was updated successfully, but these errors were encountered:
What did you do?
I tried to compile a project using Hero.
What did you expect to happen?
I expected the project to compile.
What happened instead?
I got the following compiler error in code using
UIApplication.shared
:'shared' is unavailable in application extensions for iOS: Use view controller based solutions where appropriate instead.
For example in HeroTransition+Complete.swift line 90 :
UIApplication.shared.keyWindow?.addSubview(isPresenting ? fromView : toView)
General Information
Hero Version: 1.5.0, probably the latest one as well
iOS Version(s): 15.0
Swift Version: 5
Devices/Simulators: iPhone 12 mini
Reproducible in Examples? (Yes/No): No, I could not reproduce it on a brand new project.
The text was updated successfully, but these errors were encountered: