NSMetaDataQuery spotlight with invisible elements does not update automatically

The original search works fine, but any changes to invisible elements go unnoticed upon request.

The query can be run again and it will find updates.

The request is not null and the spotlight notifications have not been unsubscribed.

Is this a bug or expected behavior?

I've tested this multiple times on several different projects and it seems to be correct.

0
cocoa spotlight


source to share


1 answer


One way to save a batch of documents is to take advantage of the fact that Spotlight does not import metadata from invisible files or directories.



Added emphasis; a quote from the Spotlight review page .

+2


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics