Closed mohamedawad2020 closed 4 years ago
with using scenedelegate or not? I am on it currently.
the issue is when y ou are on ios 13 and you are not using scene
open class func reset(transition: UIView.AnimationOptions, duration: Float = 0.5) { if #available(iOS 13.0, *) { ----->>> for scene in UIApplication.shared.connectedScenes { (scene.delegate as? MOLHResetable)?.reset() } } else { if let delegate = UIApplication.shared.delegate { if delegate is MOLHResetable { (delegate as!MOLHResetable).reset() } UIView.transition(with: ((delegate.window)!)!, duration: TimeInterval(duration), options: transition, animations: {}) } } }
it will enter ---> this line and see no scene so will not call the reset delegate
let me fix it.
fixed in 1.4, please try that @Mohamedawad2020 @abdallahnh
@MoathOthman this is happening with me as well, any quick fix for this?