layoutMarginsGuide ). or subView.snp.makeConstraints { make in make.top.leading.equalTo(view.safeAreaLayoutGuide). One nice way to do this is to use UIView.
確定! 回上一頁