Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- RxCocoa
- ribs
- Observable
- map
- Human interface guide
- Protocol
- HIG
- tableView
- uiscrollview
- 스위프트
- Xcode
- scrollview
- UITextView
- swiftUI
- combine
- uitableview
- 애니메이션
- swift documentation
- ios
- Clean Code
- 리펙토링
- Refactoring
- clean architecture
- 리팩토링
- 클린 코드
- collectionview
- MVVM
- rxswift
- UICollectionView
- SWIFT
Archives
- Today
- Total
김종권의 iOS 앱 개발 알아가기
[iOS - swift] remove at build time 옵션 LayoutConstraints 에러, Unable to simultaneously satisfy constraints 본문
iOS 기본 (swift)
[iOS - swift] remove at build time 옵션 LayoutConstraints 에러, Unable to simultaneously satisfy constraints
jake-kim 2021. 4. 8. 02:31
- storyboard에서 constraint 설정 후 코드에서도 동일한 부분에 constraint를 설정한 경우 발생
- 이때 코드에서 설정한 부분이 우선순위가 높아서 적용
- 위 경고 메세지를 삭제하려면, storyboard에서 "remove at build time"옵션을 체크하면 해결
- 주로 storyboard에서는 가시적으로 보이도록 constraint설정 후 실제는 코드에서 constraint가 적용되는 경우 사용

'iOS 기본 (swift)' 카테고리의 다른 글
Comments
jake-kim님의
글이 좋았다면 응원을 보내주세요!