Reputation: 7807
When I subclass UISplitViewController and set it's viewControllers property everything is fine. However once I add this single line to my subclass the master view controller grows to the size of a detail view and overlaps my detail view.
@property (nonatomic,retain) MMMasterViewController* masterViewController;
Anyone know whats going on here?
Upvotes: 0
Views: 421
Reputation: 7807
So I changed the name of my property and it worked.
Why?
It most likely was overriding a private property of UISplitViewController.
Upvotes: 3
Reputation: 60
The private property name for the details view seems to be detailViewController
. I used that name and my details view moved under the master view.
It seems best to avoid using either of these property names in a subclass.
Upvotes: 1