//
//  UIApplication+Swizzle.swift
//  PaiaiUIKit
//
//  Created by ffib on 2019/1/15.
//  Copyright © 2019 yb. All rights reserved.
//

import UIKit

extension UIApplication {
    private static let classSwizzedMethodRunOnce: Void = {
        if #available(iOS 11.0, *) {
            UINavigationBar.swizzedMethod()
        }
    }()
    
    open override var next: UIResponder? {
        UIApplication.classSwizzedMethodRunOnce
        return super.next
    }
}