We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18e3900 commit b38de8fCopy full SHA for b38de8f
Sources/Extensions/UIView+Extensions.swift
@@ -1,19 +1,7 @@
1
import UIKit
2
3
extension UIView {
4
- var viewInsets: UIEdgeInsets {
5
- if #available(iOS 11, *) {
6
- return safeAreaInsets
7
- }
8
-
9
- return .zero
10
11
12
func addSubviews(_ subviews: UIView...) {
13
- addSubviews(subviews)
14
15
16
- func addSubviews(_ subviews: [UIView]) {
17
subviews.forEach {
18
addSubview($0)
19
}
0 commit comments