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
- Git
- darkmode
- iOS16
- error
- Archive
- JPA
- MacOS
- geofencing
- Swift
- Apple
- 웹뷰
- window
- rxswift
- 개발자
- view
- github
- appstore
- mac
- 한글
- Xcode
- Session
- Notification
- SwiftUI
- Firebase
- Realm
- FLUTTER
- Code
- UIButton
- 이미지
- IOS
Archives
- Today
- Total
EEYatHo 앱 깎는 이야기
Swift ) CollectionView로 화면을 채울 때 주의사항 - EEYatHo iOS 본문
반응형
Full-screen UICollectionViewCell issue on iPhone X in landscape
In my app, I present a view controller modally, and this view controller contains a UICollectionView that fills the superview. Each cell in the collection view needs to be full-screen - the same si...
stackoverflow.com
collectionViewCell 이 화면에 딱 맞도록 정교하게 설교해놨는데 자꾸 safeArea에서 셀이 안보이는 겁니다.
찾아보니, iOS 11 부터는 셀이 safeArea를 침범하면 contentSize를 멋대로 조절하곤 합니다.
해당 옵션을 끌 수 있습니다.
cv.contentInsetAdjustmentBehavior = .never
'iOS, Swift' 카테고리의 다른 글
Swift ) 앱 실행방법에 따른 분기 - EEYatHo iOS (0) | 2021.08.09 |
---|---|
Swift ) defer - EEYatHo iOS (0) | 2021.07.21 |
Swift ) Notification과 Rx의 차이 (설계 관점) - EEYatho iOS (0) | 2021.05.27 |
Swift ) 네비게이션바 밑줄 없애기 - EEYatHo iOS (0) | 2021.05.06 |
Swift ) 디버그가 안될 때, breakpoint not working - EEYatHo iOS (0) | 2021.04.26 |