An option to search for objects only within the depth range of the current point of view.
- iOS 8.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- 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 hit-testing searches only objects between the
z distances of the
point camera. Specify
NO to include objects outside this depth range in the search.