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
- port
- 리눅스
- 라즈베리파이
- flutter
- ASP
- Linux
- GIT
- tensorflow
- ubuntu
- node.js
- IOS
- sqlite
- 맛집
- Unity
- 날짜
- MS-SQL
- pandas
- 함수
- PER
- swift
- javascript
- Excel
- 다이어트
- mssql
- PyQt
- PyQt5
- python
- 유니티
- MySQL
- urllib
Archives
목록ImageView (1)
아미(아름다운미소)
이미지가 더 작은 경우에도 UITableViewCell의 ImageView를 고정 크기로 만드는 방법
UITableViewCell의 ImageView를 고정 func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { ... cell.imageView?.image = myImage let itemSize = CGSize(width:42.0, height:42.0) UIGraphicsBeginImageContextWithOptions(itemSize, false, 0.0) let imageRect = CGRect(x:0.0, y:0.0, width:itemSize.width, height:itemSize.height) cell.imageView?.image!.draw(in:imageRect) c..
랭귀지/SWIFT
2018. 5. 18. 09:30