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 |
Tags
- geofencing
- Session
- view
- github
- FLUTTER
- error
- 이미지
- Code
- rxswift
- Realm
- mac
- SwiftUI
- Git
- iOS16
- Swift
- window
- Notification
- Xcode
- UIButton
- 개발자
- Archive
- IOS
- JPA
- darkmode
- appstore
- 웹뷰
- 한글
- MacOS
- Apple
- Firebase
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 |
Comments