KFImage를 이용하여 불러오는 이미지 다운샘플링
This commit is contained in:
@@ -17,6 +17,13 @@ struct ContentDetailCreatorProfileView: View {
|
||||
var body: some View {
|
||||
HStack(spacing: 0) {
|
||||
KFImage(URL(string: creator.profileImageUrl))
|
||||
.cancelOnDisappear(true)
|
||||
.downsampling(
|
||||
size: CGSize(
|
||||
width: 26.7,
|
||||
height: 26.7
|
||||
)
|
||||
)
|
||||
.resizable()
|
||||
.frame(width: 26.7, height: 26.7)
|
||||
.clipShape(Circle())
|
||||
|
Reference in New Issue
Block a user