KFImage를 이용하여 불러오는 이미지 다운샘플링
This commit is contained in:
		@@ -41,6 +41,13 @@ struct ContentModifyView: View {
 | 
			
		||||
                                            .clipped()
 | 
			
		||||
                                    } else if let coverImageUrl = viewModel.coverImageUrl {
 | 
			
		||||
                                        KFImage(URL(string: coverImageUrl))
 | 
			
		||||
                                            .cancelOnDisappear(true)
 | 
			
		||||
                                            .downsampling(
 | 
			
		||||
                                                size: CGSize(
 | 
			
		||||
                                                    width: 107,
 | 
			
		||||
                                                    height: 107
 | 
			
		||||
                                                )
 | 
			
		||||
                                            )
 | 
			
		||||
                                            .resizable()
 | 
			
		||||
                                            .scaledToFill()
 | 
			
		||||
                                            .frame(width: 107, height: 107)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user