티스토리 뷰
UIViewContentMode Type
typedef enum {
UIViewContentModeScaleToFill,
UIViewContentModeScaleAspectFit,
UIViewContentModeScaleAspectFill,
UIViewContentModeRedraw,
UIViewContentModeCenter,
UIViewContentModeTop,
UIViewContentModeBottom,
UIViewContentModeLeft,
UIViewContentModeRight,
UIViewContentModeTopLeft,
UIViewContentModeTopRight,
UIViewContentModeBottomLeft,
UIViewContentModeBottomRight,
} UIViewContentMode;
이해하기 쉬운 사진!
사진에 나오지 않은 UIViewContentModeRedraw
setNeedsDisplay 메소드를 통해 UIView 의 bounds 가 바뀌었을 때 다시 그리기 위해 사용된다.
UIViewReference
https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/
'iOS 개발 > iOS' 카테고리의 다른 글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- EffectiveObjectiveC
- CIImage
- optional
- AWS
- thread
- Block
- workerThread
- string
- applicationWillResignActive
- Swift
- coredata
- RunLoop
- HTTP
- Swift 3
- set
- 꺼내먹어요
- CGImage
- delegate
- NSManagedObject
- Swift3
- NSManagedObjectModel
- docker
- Arc
- Swfit
- ios
- Swift 3.0
- 읽기 좋은 코드가 좋은 코드다
- dictionary
- NSManagedObjectContext
- UIView
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함