An option to sort the results of a hit-test.
- iOS 8.0+
- macOS 10.8+
- tvOS 9.0+
- watchOS 3.0+
The value for this key is an
NSNumber object containing a Boolean value. The default value is
YES, specifying that the array of hit-test results is sorted from nearest to farthest. (When using the
hit method, “nearest” is defined as closer to the point specified in the first parameter.) If you specify
NO, results are returned in an arbitrary order.