KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
The parentViewController property of UIViewController is readonly, but I am nesting custom view controllers and would like to use this property. However, since it is readonly, and I found no other way to set this property, my quesion is: how do I set it? Obviously, UINavigationController can set the property somehow in -pushViewController, and so can -presentModalViewController, so it must be possible. I am aware that I can just add my own UIViewController property, but I'm sure that parentViewController is, in principle, the correct property.
Tags (comma-separated)
Save Edits
Cancel