Post

Replies

Boosts

Views

Activity

Reply to iOS Spotlight indexing seems to be broken on iOS 17?
I finally figured out a way to fix it. Previously when we create CSSearchableItemAttributeSet when only set its title property. Now with iOS 17, we also need to set displayName property in order for the item to show up. The code will look like this: let attribute = CSSearchableItemAttributeSet(contentType: .item) attribute.title = title attribute.displayName = title // this is the line that's not required before iOS 17, but necessary now let item = CSSearchableItem(uniqueIdentifier: id, domainIdentifier: nil, attributeSet: attribute) CSSearchableIndex.default().indexSearchableItems([item])
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’23
Reply to Unable to Disable/Hide Writing Tools in iOS 18
I found that this happens when the deployment target is set to iOS 16. This can be reproduced on a brand new project. Here's a full log: Build WebAI_2024-09-25T12-01-56.txt thanks for your help @DTS Engineer Is there a workaround to keep deployment target to iOS 16 while still making this work?
Topic: Safari & Web SubTopic: General Tags:
Sep ’24
Reply to iOS Spotlight indexing seems to be broken on iOS 17?
Also I tried to build from both Xcode 14 and Xcode 15 beta. In both cases, it doesn't work on iOS 17 devices.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to iOS Spotlight indexing seems to be broken on iOS 17?
Thanks @arcangel06 and @Mr. Brightside . It's reassuring to know that we are not alone. But what concerns me is that for some apps, on iOS 17 beta Spotlight Search does work, e.g. on both Venmo and WhatsApp you can search for friends on Spotlight. So I'm a little worried that Apple would consider this as not broken since it works for some apps.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Aug ’23
Reply to iOS Spotlight indexing seems to be broken on iOS 17?
I finally figured out a way to fix it. Previously when we create CSSearchableItemAttributeSet when only set its title property. Now with iOS 17, we also need to set displayName property in order for the item to show up. The code will look like this: let attribute = CSSearchableItemAttributeSet(contentType: .item) attribute.title = title attribute.displayName = title // this is the line that's not required before iOS 17, but necessary now let item = CSSearchableItem(uniqueIdentifier: id, domainIdentifier: nil, attributeSet: attribute) CSSearchableIndex.default().indexSearchableItems([item])
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23
Reply to iOS 18 beta 5 WKWebView crash
Did anyone see this getting fixed in beta 6? We didn't have a repro for this bug, but from our crash logging data it does seem that the crash volume went down after the release of beta 6.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Aug ’24
Reply to Unable to Disable/Hide Writing Tools in iOS 18
Hi @DTS Engineer , Does this require Xcode 16.1? I'm on Xcode Version 16.0 (16A242d), and I'm getting the error: Value of type 'WKWebViewConfiguration' has no member 'writingToolsBehavior'.
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to Unable to Disable/Hide Writing Tools in iOS 18
I found that this happens when the deployment target is set to iOS 16. This can be reproduced on a brand new project. Here's a full log: Build WebAI_2024-09-25T12-01-56.txt thanks for your help @DTS Engineer Is there a workaround to keep deployment target to iOS 16 while still making this work?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’24
Reply to How to implement the element attached below siri search suggestion
you just need to implement AppShortcut. iOS decides what to suggest there, so in this case it’s likely because you used chatgpt a lot so it’s shortcut is being suggested.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’24