Skip to content

Commit acb93cc

Browse files
author
Hilen
committed
[Release] 1.0.0
1 parent 22c1c21 commit acb93cc

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Sources/UIKit/UIApplication+TSExtension.swift

-13
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,6 @@ extension UIApplication {
2121
return UIApplication.perform(selector).takeUnretainedValue() as? UIApplication
2222
}
2323

24-
// public class func ts_sharedApplication() -> UIApplication? {
25-
// guard UIApplication.responds(to: #selector(getter: UIApplication.shared)) else {
26-
// return nil
27-
// }
28-
//
29-
// guard let unmanagedSharedApplication = UIApplication.perform(#selector(getter: UIApplication.shared)) else {
30-
// return nil
31-
// }
32-
//
33-
// return unmanagedSharedApplication.takeRetainedValue() as? UIApplication
34-
// }
35-
3624
///Get screen orientation
3725
public class var ts_screenOrientation: UIInterfaceOrientation? {
3826
guard let app = self.ts_sharedApplication() else {
@@ -50,7 +38,6 @@ extension UIApplication {
5038
return app.statusBarFrame.height
5139
}
5240

53-
//https://github.com/goktugyil/EZSwiftExtensions/blob/master/Sources/UIApplicationExtensions.swift
5441
/**
5542
Run a block in background after app resigns activity
5643

0 commit comments

Comments
 (0)