Post

Replies

Boosts

Views

Activity

Reply to How to index file based documents in Core Spotlight
I’ve finally made peace with having to index a notes file as a whole rather than as separate items. However, I’ve run into another issue: I built a CSImportExtension and tested it on iOS. The indexed file appears in Spotlight search results, but when tapped, the app only receives a URL context, not an activity object containing the search query. As a result, I can open the file, but I can’t scroll to the relevant section because I don’t know what the user searched for. The app has its own search feature, but the user has to re-enter the query, which is a poor user experience. If I index the content as a CSSearchableItem, the app receives a CSSearchableItemActionType activity, which includes the query string. However, as you’ve explained, files are meant to be indexed as a whole, not as individual CSSearchableItem objects. I then thought that adding a "Search in App" button would solve this, so I added CoreSpotlightContinuation to the Info.plist. While this does provide the query string in a CSQueryContinuationActionType activity, the button only appears for items indexed as CSSearchableItem. For content indexed via CSImportExtension, the button appears but it opens the Files app instead of my app. The question is: How can I index files using CSImportExtension and still receive the query string in a user activity, rather than just a bare URL context?
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’25
Reply to Double border in UIBarButtonItem with Custom View on iOS 26, bug or feature?
How can I send you the test project? I cannot attach the zip here. In viewDidLoad I set the button, and it looks ok. Then, when the user initiates some action, I replace it with another button, and now it gets a double border. override func viewDidLoad() { super.viewDidLoad() self.navigationItem.leftBarButtonItem = Button1() } @objc func fullscreenAction() { // upon this assignment the leftBarButtonItem shows double border self.navigationItem.leftBarButtonItem = Button2() }
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’25
Reply to Set date and time in iOS Simulator
Why does Apple keep removing settings like these? Is there any reason for this? In my case, I need to set the date as well as the time, because I create screenshots on different days, and they end up with different dates, which is not consistent. If I change the date on my Mac and create screenshots on different days, when I later retrieve them from Finder, they get mixed in with other files I created on those days. It's really annoying.
Jun ’25
Reply to NSItemProvider.registeredTypeIdentifiers(fileOptions: [.openInPlace]) is empty until performDrop
@Frameworks Engineer I realized that it works correctly on iOS, but not on MacCatalyst. I've filled the feedback FB21911058.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to As iOS developers, what’s the biggest pain point you’d like Apple to fix?
The chaotic keyboard (mostly in iOS26). Keyboard frames are off when the app is in a small window, the keyboard layout guide is off as well, sometimes it includes the safe area, sometimes it doesn't. And now I just discovered that showing a popover triggers a keyboardWillShowNotification. WTF??
Replies
Boosts
Views
Activity
Feb ’26
Reply to iOS 26: keyboardLayoutGuide does not give the correct constraint
I got the same issue, how did you solve it?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jan ’26
Reply to How to index file based documents in Core Spotlight
I’ve finally made peace with having to index a notes file as a whole rather than as separate items. However, I’ve run into another issue: I built a CSImportExtension and tested it on iOS. The indexed file appears in Spotlight search results, but when tapped, the app only receives a URL context, not an activity object containing the search query. As a result, I can open the file, but I can’t scroll to the relevant section because I don’t know what the user searched for. The app has its own search feature, but the user has to re-enter the query, which is a poor user experience. If I index the content as a CSSearchableItem, the app receives a CSSearchableItemActionType activity, which includes the query string. However, as you’ve explained, files are meant to be indexed as a whole, not as individual CSSearchableItem objects. I then thought that adding a "Search in App" button would solve this, so I added CoreSpotlightContinuation to the Info.plist. While this does provide the query string in a CSQueryContinuationActionType activity, the button only appears for items indexed as CSSearchableItem. For content indexed via CSImportExtension, the button appears but it opens the Files app instead of my app. The question is: How can I index files using CSImportExtension and still receive the query string in a user activity, rather than just a bare URL context?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’25
Reply to How to index file based documents in Core Spotlight
What happens if I index the note items from a file by calling CSSearchableIndex.default().indexSearchableItems(allNoteItems) from within the update(_:forFileAt:) of the CSImportExtension, when the system calls it. Will Spotlight register or discard these separate items.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’25
Reply to How to index file based documents in Core Spotlight
That's bad news. Am I allowed to use BGAppRefreshTaskRequest or BGProcessingTaskRequest, and a NSMetadataQuery, to watch all the files in the sandbox and manually index in Spotlight the updated ones? This way I can open a file and index each note separately.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’25
Reply to spotlight and iCloud
10 years later, there's still no definitive solution to this issue. How did you handle it?
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Oct ’25
Reply to Double border in UIBarButtonItem with Custom View on iOS 26, bug or feature?
How can I send you the test project? I cannot attach the zip here. In viewDidLoad I set the button, and it looks ok. Then, when the user initiates some action, I replace it with another button, and now it gets a double border. override func viewDidLoad() { super.viewDidLoad() self.navigationItem.leftBarButtonItem = Button1() } @objc func fullscreenAction() { // upon this assignment the leftBarButtonItem shows double border self.navigationItem.leftBarButtonItem = Button2() }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Jul ’25
Reply to Set date and time in iOS Simulator
Why does Apple keep removing settings like these? Is there any reason for this? In my case, I need to set the date as well as the time, because I create screenshots on different days, and they end up with different dates, which is not consistent. If I change the date on my Mac and create screenshots on different days, when I later retrieve them from Finder, they get mixed in with other files I created on those days. It's really annoying.
Replies
Boosts
Views
Activity
Jun ’25
Reply to Is Apple reading reports in the new Feedback Assistant?
2025, same situation. I've completely stopped filing FB reports. They never respond, yet they keep asking us to file them in various threads on this forum.
Replies
Boosts
Views
Activity
May ’25
Reply to Empty dSYM file detected & Error: type for self cannot be reconstructed: type for typename
Still broken in the latest beta 14.4.
Replies
Boosts
Views
Activity
May ’25
Reply to LLDB error: type for self cannot be reconstructed: type for typename
Still occurring in Xcode 16.4 beta (16F1t).
Replies
Boosts
Views
Activity
May ’25
Reply to LLDB error: type for self cannot be reconstructed: type for typename
This bug is getting ridiculous, now the debugger complains that ""fromValue" is not a member of "(QuartzCore.CABasicAnimation) picAnim"".
Replies
Boosts
Views
Activity
May ’25
Reply to LLDB error: type for self cannot be reconstructed: type for typename
Xcode 16.3 beta (16E5104o) exhibits the same issue.
Replies
Boosts
Views
Activity
Mar ’25
Reply to FYI: Xcode and Disk Space
Also look under the "Other Installed Platforms" section in Xcode settings. It is those platforms that are taking up space in /Library/Developer/CoreSimulator. You can remove, from Xcode, the one that you don't need.
Replies
Boosts
Views
Activity
Feb ’25