Post

Replies

Boosts

Views

Activity

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.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 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 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 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 Non Optional AppIntent Param
Same question here
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Nov ’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 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 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 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 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 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 Xcode 15 beta 1 failed to preview SwiftUI view in watchOS target
Has this been solved? I encounter that very same issue with Xcode 15 (final version)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to AppIntent is not notifying MainApp With NSUserActivity in UIKit
Found a solution to this?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to How to prevent ios17 interactive widgets to open the app after an interaction?
Any news on this? This can mess up soooo much with the UX
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to Apple Watch (waiting for first unlock) in Xcode
My lightning cable was going through my LG 5k. Plugged it in directly into the mac, seems to work for now. I lost so many days fighting this.
Replies
Boosts
Views
Activity
Jun ’23
Reply to iPhone is busy: Making Apple Watch ready for development
This makes watch development a real pain.
Replies
Boosts
Views
Activity
May ’23
Reply to Forwarding touches from a SwiftUI View in UIHostingController to UIKit
See: https://github.com/steipete/SwiftUITouchHandling
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’23