2021-02-22 11:16:23 +00:00
|
|
|
//
|
|
|
|
// InAppBrowserNavigationController.swift
|
|
|
|
// flutter_inappwebview
|
|
|
|
//
|
|
|
|
// Created by Lorenzo Pichilli on 14/02/21.
|
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
public class InAppBrowserNavigationController: UINavigationController {
|
|
|
|
var tmpWindow: UIWindow?
|
|
|
|
|
|
|
|
deinit {
|
2022-04-30 19:22:31 +00:00
|
|
|
debugPrint("InAppBrowserNavigationController - dealloc")
|
2021-02-22 11:16:23 +00:00
|
|
|
tmpWindow?.windowLevel = UIWindow.Level(rawValue: 0.0)
|
|
|
|
tmpWindow = nil
|
|
|
|
UIApplication.shared.delegate?.window??.makeKeyAndVisible()
|
|
|
|
}
|
|
|
|
}
|