Post

Replies

Boosts

Views

Activity

Reply to Unabe to use writeHEIFRepresentation - failed to add image to the PhotoCompressionSession.
Hi Greg, Yes, I'll work on creating an example sample project. Basically, I'm extracting an image from an ARSession, using the pixel buffer from an ARFrame. I'm then converting the pixel buffer to a CIImage and then exporting it to an HEIC. I should have something to share later today or early tomorrow. Do I post it here? Thanks
Replies
Boosts
Views
Activity
Sep ’25
Reply to Xcode 15 beta 5 issue when using @Query data to update Button label
I ended up getting something to work by removing: @Query var favorites: [FavoriteModel] and adding a favorites relationship to my project model: @Relationship(.cascade) var favorite: FavoriteModel? = nil Just extra bookkeeping when I favorite a project, but it probably was the correct way to implement this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23