Post

Replies

Boosts

Views

Activity

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?
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