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 | 31 | 
													Tags
													
											
												
												- 리눅스
- python
- 유니티
- Linux
- urllib
- 맛집
- node.js
- port
- pandas
- swift
- ubuntu
- GIT
- PyQt5
- mssql
- javascript
- 라즈베리파이
- 함수
- MySQL
- IOS
- 다이어트
- PER
- PyQt
- tensorflow
- MS-SQL
- flutter
- Unity
- ASP
- sqlite
- Excel
- 날짜
													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