Post

Replies

Boosts

Views

Activity

Reply to CMAltimeter absolute altitude delivery BROKEN (super slow & inaccurate)
So I confirm that this became a mess. A device can become uncalibrated, probably when he stays inside for a significant amount of time. The issue is that going outside with clear GPS signal is not a good solution. It might take A LOT of time for the device to recover (my watch, for example, never re-calibrated). If it does, the app using CMAltimeter might enter a weird behavior, due to the delivery of inaccurate events. I don't know what happened with the latest updates, but I have 2 production apps facing major issues.
Topic: App & System Services SubTopic: Hardware Tags:
Jun ’24
Reply to iOS 18.2 crash on CGImageDestinationFinalize
Changing let thumbMaxSize = min(2400, maxImageSize) with let thumbMaxSize = min(1200, maxImageSize) thus, simply reducing the image size, fixed the issue. I don't know what changed in 18.2 in that regards, but I must say that I'm happy that my use case allows for reducing the image size. Any detail would be appreciated, in order to ensure that everything is working as it should. Thanks!
Topic: Media Technologies SubTopic: General Tags:
Nov ’24
Reply to AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
So I ran further tests: Setting contentType: no success -> title is indexed, but not textContent attributeSet.contentType = UTType.plainText.identifier attributeSet.textContent = ocrText I tried printing the entity textContent just before indexing: NSLog("Indexing entity with OCR = \(entity.attributeSet.textContent ?? "")") try await CSSearchableIndex.default().indexAppEntities([entity]) It correctly prints out the textContent of the entity. --> Core Spotlight indexes the entity, but seems to ignore the textContent field Modified the AppIntentsJournal project from Apple, to fill in the textContent field in the indexed attribute set. --> textContent is correctly indexed in that project The entity are almost identically the same in both projects. What could cause a difference in behavior from CoreSpotlight?
Mar ’25
Reply to iOS 18 new RecognizedTextRequest DEADLOCKS if more than 2 are run in parallel
Yes, I perform OCR on multiple images in parallel. This is a use case of the app. Typically: a background process might OCR images that haven't been OCR'd yet the user can add new images where OCR has to be performed etc... Moreover, as suggested in the WWDC video, I wanted to use the new Swift Concurrency API to perform multiple requests in parallel. But as mentioned in the topic, their provided code won't work with RecognizeTextRequest. My current workaround is unfortunately to serialize every OCR request, to avoid the issue. But this doesn't fit the spirit of the app and the architecture.
Topic: Machine Learning & AI SubTopic: General Tags:
May ’25
Reply to How to hide keyboard on tap outside of TextField in SwiftUI?
Any solution so far?
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Reply to SwiftUI Buttons in a List do not highlight when tapped
Anybody found a solution to this? Navigation UX is degraded in SwiftUI, without a proper highlight on touch down in the button.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to SwiftUI Buttons in a List do not highlight when tapped
up, UX feels horrible
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
May ’24
Reply to UIDocumentPickerViewController -> OneDrive/G-Drive -> NSFileCoordinator
Did you find a solution to this?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to CMAltimeter absolute altitude delivery BROKEN (super slow & inaccurate)
So I confirm that this became a mess. A device can become uncalibrated, probably when he stays inside for a significant amount of time. The issue is that going outside with clear GPS signal is not a good solution. It might take A LOT of time for the device to recover (my watch, for example, never re-calibrated). If it does, the app using CMAltimeter might enter a weird behavior, due to the delivery of inaccurate events. I don't know what happened with the latest updates, but I have 2 production apps facing major issues.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Jun ’24
Reply to iOS 18.2 crash on CGImageDestinationFinalize
Changing let thumbMaxSize = min(2400, maxImageSize) with let thumbMaxSize = min(1200, maxImageSize) thus, simply reducing the image size, fixed the issue. I don't know what changed in 18.2 in that regards, but I must say that I'm happy that my use case allows for reducing the image size. Any detail would be appreciated, in order to ensure that everything is working as it should. Thanks!
Topic: Media Technologies SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Non Optional AppIntent Param
Same question here
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’24
Reply to Adopt UIFindInteraction across multiple views
Did you find a solution to this?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Reply to AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
So I ran further tests: Setting contentType: no success -> title is indexed, but not textContent attributeSet.contentType = UTType.plainText.identifier attributeSet.textContent = ocrText I tried printing the entity textContent just before indexing: NSLog("Indexing entity with OCR = \(entity.attributeSet.textContent ?? "")") try await CSSearchableIndex.default().indexAppEntities([entity]) It correctly prints out the textContent of the entity. --> Core Spotlight indexes the entity, but seems to ignore the textContent field Modified the AppIntentsJournal project from Apple, to fill in the textContent field in the indexed attribute set. --> textContent is correctly indexed in that project The entity are almost identically the same in both projects. What could cause a difference in behavior from CoreSpotlight?
Replies
Boosts
Views
Activity
Mar ’25
Reply to AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
@DTS Engineer : I filed the bug report:** FB16995719** I tested the old way for indexing: indexSearchableItems(_:completionHandler:) The issue remains the same. The textContent is NOT found when using Spotlight. However, querying Spotlight on textContent within the app, returns the right result. This is so strange. Best regards
Replies
Boosts
Views
Activity
Mar ’25
Reply to AppIntents + CSSearchableItemAttributeSet: only displayName indexed?
Not fixed under iOS 18.4, unfortunately :(
Replies
Boosts
Views
Activity
Apr ’25
Reply to iOS 18 new RecognizedTextRequest DEADLOCKS if more than 2 are run in parallel
Yes, I perform OCR on multiple images in parallel. This is a use case of the app. Typically: a background process might OCR images that haven't been OCR'd yet the user can add new images where OCR has to be performed etc... Moreover, as suggested in the WWDC video, I wanted to use the new Swift Concurrency API to perform multiple requests in parallel. But as mentioned in the topic, their provided code won't work with RecognizeTextRequest. My current workaround is unfortunately to serialize every OCR request, to avoid the issue. But this doesn't fit the spirit of the app and the architecture.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’25
Reply to CIContext sporadically crashes on macOS 15.4/15.5, iOS 18.4/18.5
Same here. It might have started with iOS 18.3 though.
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to CIContext sporadically crashes on macOS 15.4/15.5, iOS 18.4/18.5
I'm sorry, I thought I was saving a draft. Here is the bug report number: FB18227187 Thank you!
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25
Reply to CIContext sporadically crashes on macOS 15.4/15.5, iOS 18.4/18.5
So far, no. But I don't think my iOS 26 user base is large enough to conclude anything. I'll report here if I see any crash from iOS 26. It happens quite often in production though, is there anything I can do to at least mitigate the issue?
Topic: UI Frameworks SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’25