Skip to content

Commit cd76059

Browse files
committed
Update Extensions.swift
Removed the statusBarWindow.statusBar helper as it's not longer available in iOS 13
1 parent 65131a0 commit cd76059

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

UIExpandableCVCellKit/Extensions.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88

99
import Foundation
1010

11-
extension UIApplication {
12-
13-
/// Handy helper to get access to the statusBar's view
14-
var statusBarView: UIView? {
15-
guard let statusBarView = UIApplication.shared.value(forKeyPath: "statusBarWindow.statusBar") as? UIView else {
16-
return nil
17-
}
18-
return statusBarView
19-
}
20-
}
11+
//extension UIApplication {
12+
//
13+
// /// Handy helper to get access to the statusBar's view
14+
// var statusBarView: UIView? {
15+
// guard let statusBarView = UIApplication.shared.value(forKeyPath: "statusBarWindow.statusBar") as? UIView else {
16+
// return nil
17+
// }
18+
// return statusBarView
19+
// }
20+
//}
2121

2222
extension CGFloat {
2323

0 commit comments

Comments
 (0)