//
//  UIViewController+Extension.swift
//  NetKnot
//
//  Created by Harry on 2020/11/5.
//  Copyright © 2020 Harry. All rights reserved.
//

import Foundation
import UIKit

extension UIViewController {
   
//   open func presentFullScreen(_ viewController: UIViewController, animated flag: Bool, completion: (() -> Void)? = nil) {
//      
//      viewController.modalPresentationStyle = UIModalPresentationStyle.fullScreen;
//      
//      if true == viewController.isKind(of: UINavigationController.self) {
//         
//         var stNavigationController : UINavigationController = viewController as! UINavigationController;
//         
//         stNavigationController.topViewController!.modalPresentationStyle = UIModalPresentationStyle.fullScreen;
//         
//      } /* End if () */
//
//      self.present(viewController, animated: flag, completion: completion);
//   }
}


