티스토리 뷰
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
- ios
- AWS
- optional
- set
- HTTP
- CGImage
- Swift 3.0
- NSManagedObject
- RunLoop
- docker
- Swift3
- Block
- EffectiveObjectiveC
- 읽기 좋은 코드가 좋은 코드다
- Swift 3
- coredata
- workerThread
- UIView
- delegate
- CIImage
- applicationWillResignActive
- Arc
- dictionary
- string
- NSManagedObjectContext
- Swift
- thread
- 꺼내먹어요
- NSManagedObjectModel
- Swfit
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함