File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,6 @@ extension UIApplication {
21
21
return UIApplication . perform ( selector) . takeUnretainedValue ( ) as? UIApplication
22
22
}
23
23
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
-
36
24
///Get screen orientation
37
25
public class var ts_screenOrientation : UIInterfaceOrientation ? {
38
26
guard let app = self . ts_sharedApplication ( ) else {
@@ -50,7 +38,6 @@ extension UIApplication {
50
38
return app. statusBarFrame. height
51
39
}
52
40
53
- //https://github.com/goktugyil/EZSwiftExtensions/blob/master/Sources/UIApplicationExtensions.swift
54
41
/**
55
42
Run a block in background after app resigns activity
56
43
You can’t perform that action at this time.
0 commit comments