摘要:
if #available(iOS 8.0, *){ if let url = URL(string: UIApplication.openSettingsURLString), UIApplication.shared.canOpenURL(url){ ... 阅读全文
摘要:
///1. 获得当前窗口 var JY_WINDOW: UIWindow? { get{ if let app = UIApplication.shared.delegate as? AppDelegate { return app.window } return nil } } //2. iPhoneX系... 阅读全文
摘要:
转发链接:https://blog.csdn.net/nathan1987_/article/details/79757368 阅读全文