Answers for "how to image url convert in image view in swiftui"

0

load image from url in Image swiftui (iOS 15)

AsyncImage(
  url: "https://dogecoin.com/assets/img/doge.png",
  transaction: .init(animation: .easeInOut)
) { image in
  image
    .resizable()
    .aspectRatio(contentMode: .fit)
}. placeholder: {
  Color.gray
}
  .frame(width: 500, height: 500)
  .mask(RoundedRectangle(cornerRadius: 16)
Posted by: Guest on August-22-2021

Code answers related to "how to image url convert in image view in swiftui"

Code answers related to "Swift"

Browse Popular Code Answers by Language