2021-02-22 12:16:23 +01: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 21:22:31 +02:00
|
|
|
debugPrint("InAppBrowserNavigationController - dealloc")
|
2021-02-22 12:16:23 +01:00
|
|
|
tmpWindow?.windowLevel = UIWindow.Level(rawValue: 0.0)
|
|
|
|
tmpWindow = nil
|
|
|
|
UIApplication.shared.delegate?.window??.makeKeyAndVisible()
|
|
|
|
}
|
|
|
|
}
|