KFImage를 이용하여 불러오는 이미지 다운샘플링
This commit is contained in:
		@@ -23,6 +23,13 @@ struct UserProfileLiveView: View {
 | 
			
		||||
                    HStack(spacing: 20) {
 | 
			
		||||
                        ZStack(alignment: .topLeading) {
 | 
			
		||||
                            KFImage(URL(string: liveRoom.coverImageUrl))
 | 
			
		||||
                                .cancelOnDisappear(true)
 | 
			
		||||
                                .downsampling(
 | 
			
		||||
                                    size: CGSize(
 | 
			
		||||
                                        width: 80,
 | 
			
		||||
                                        height: 116.7
 | 
			
		||||
                                    )
 | 
			
		||||
                                )
 | 
			
		||||
                                .resizable()
 | 
			
		||||
                                .scaledToFill()
 | 
			
		||||
                                .frame(width: 80, height: 116.7, alignment: .center)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user