Post

Replies

Boosts

Views

Activity

Reply to SwiftData on iOS 18 extreme memory use
I'm working around this bug by only prefetching a light weight property, this way SwiftData will not everything, causing the memory to spike. func countModels() async -> Int { var descriptor = FetchDescriptor<SwiftDataModel>() if #available(iOS 18, *) { descriptor.propertiesToFetch = [\.dateCreated] } let count = try? modelContext.fetchCount(descriptor) return count ?? 0 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’25
Reply to CoreML Inference Error: "Could not create Espresso context"
Hi there, I ran into the same error on my M1 Mac. I ran it on an Intel Mac and had no issues. This is a M1 specific bug (while using simulator), please file a bug with Apple.
Topic: Machine Learning & AI SubTopic: Core ML Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to Group Activity stopped working with iOS 15 Beta 2
RESOLVED: Looks like after installing the new beta, FaceTime Audio will not be recognized as new conversation. Start a new FaceTime Video call, start the group activity FaceTime Audio based Group Activity will work from the next time.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’21
Reply to How to decode the JSON response from MusicKit Search Suggestion
Hey @JoeKun, Thanks for taking the time out to reply with this detailed answer, I am still new to complex JSON serialization and so this is really really helpful. If seen your other replies on other threads and they've all been enormously helpful, so thanks again!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’21
Reply to SharePlay Developer Profile Not Working
Not working for either, can confirm. It's not just you, I tired restarting my devices too! It just will not show up.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to How to fetch next batch of albums for an Artist?
@JoeKun Mind-blown! Thanks again for your reply, you are a rockstar.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to Shareplay beta 6 - Has anyone got it to work?
Nope, I couldn't and I am waiting for Apple to fix this issue.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’21
Reply to App crashes after showing Music Subscription offer sheet
SOLVED: Issue turned out be because I had the subscription offer sheet attached to each item in a forEach loop. Once I moved it out, the app stopped crashing.
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Dec ’21
Reply to PlayParameters in iOS 16 breaks backwards compatibility with iOS 15
@JoeKun Hope you can looking into this issue. Thanks!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’22
Reply to MusicKit service key and app ownership transfer
I have the same question as well.
Replies
Boosts
Views
Activity
Feb ’23
Reply to Has anyone figured out how to use the "bump" gesture for airdrop or shareplay?
Beta 2 added the bump gesture for system apps, but still not seeing any documentation.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jul ’23
Reply to iOS 18 SwiftData ModelContext reset
Facing the same issue, does anyone know how to solve this issue?
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS 18 SwiftData ModelContext reset
Submitted Bug to Apple with ID: FB14089213 Anyone facing similar issue please reference this in your own report.
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS18 Control Widget that opens parent app
I have no idea how this works either! Apple Engineers please give us a detailed explanation or same code. onOpenURL does not pass the url scheme either
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to iOS18 Control Widget that opens parent app
Submitted feedback with ID: FB14876696
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to SwiftData on iOS 18 extreme memory use
I'm working around this bug by only prefetching a light weight property, this way SwiftData will not everything, causing the memory to spike. func countModels() async -> Int { var descriptor = FetchDescriptor<SwiftDataModel>() if #available(iOS 18, *) { descriptor.propertiesToFetch = [\.dateCreated] } let count = try? modelContext.fetchCount(descriptor) return count ?? 0 }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Feb ’25