Returns a Boolean value indicating whether the receiver is a subview of a given view or identical to that view.
- iOS 2.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
The view to test against the receiver’s view hierarchy.
true if the receiver is an immediate or distant subview of
view or if
view is the receiver itself; otherwise