I have a UITextField control and I just want to get the parent view that it is contained in. I was hoping it would be something like [MyTextField ParentView] or MyTextField.view but no go.
Any ideas?
Thanks In Advance
You can use myTextField.superview. It's documented in Apple's class reference for the UIView class, which UITextField inherits from.
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