Post

Replies

Boosts

Views

Activity

Reply to AsyncImage - Cancelled Loading before View is Visible
For anyone still having this issue, I resolved it in my case, to remove the data url from the state and entirely set it again. This is the relevant part of my code. This so called Card is wrapped as stated before with ScrollView following by a LazyVStack. struct Card: View { var item: item @Binding var showImage: Bool @State var dataurl: URL? var body: some View { HStack{ if showImage{ if let image_url = item.image_urll{ if let url = URL(string: image_url){ AsyncImage(url: dataurl, content:{ result in result .resizable() .aspectRatio(contentMode: .fill) .frame(width: 100) .clipped() }, placeholder: { ProgressView() .frame(width: 100, height: 100) }).onDisappear { dataurl = nil } .onAppear{ dataurl = url } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25
Reply to AsyncImage - Cancelled Loading before View is Visible
For anyone still having this issue, I resolved it in my case, to remove the data url from the state and entirely set it again. This is the relevant part of my code. This so called Card is wrapped as stated before with ScrollView following by a LazyVStack. struct Card: View { var item: item @Binding var showImage: Bool @State var dataurl: URL? var body: some View { HStack{ if showImage{ if let image_url = item.image_urll{ if let url = URL(string: image_url){ AsyncImage(url: dataurl, content:{ result in result .resizable() .aspectRatio(contentMode: .fill) .frame(width: 100) .clipped() }, placeholder: { ProgressView() .frame(width: 100, height: 100) }).onDisappear { dataurl = nil } .onAppear{ dataurl = url } } } } } }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25
Reply to While building Swift UI, i see the following error which does not makes any sense.
Could you share some code of the file where this occurs?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to All builds are dimmed in the App Store Connect
I think because the versions don't match. The version you want to publish is 1.0.0 which is fine except the app versions you have are 1.0.1 and 1.0. Try changing the version number in Xcode or change the version number in App Store Connect.
Replies
Boosts
Views
Activity
Sep ’23
Reply to Request for Assistance: Distributing iOS App to a Single User Without Using the App Store
If the organisation is enrolled to Apple Business Manager you could distribute trough that. See more on: https://developer.apple.com/support/volume-purchase-and-custom-apps/
Replies
Boosts
Views
Activity
Sep ’23