If I know a UIView
has been added to a parent, is there a native way to access the parent from within the child?
eg. [self parent] // returns parent UIView
Sure: UIView
has the superview
property.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With