Enumerates the current set of results using the given block.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
The block to execute for each current result.
This method disables the query at the start of the iteration and reenables it upon completion. Use
enumerateResults(options:using:) if you want to use concurrent or reverse iteration.
Getting Query Results
NSMetadataQueryAttributeValueTuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software