Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setDetailViewController to replace current one not working #41

Open
LiteWait opened this issue Jul 6, 2011 · 1 comment
Open

setDetailViewController to replace current one not working #41

LiteWait opened this issue Jul 6, 2011 · 1 comment

Comments

@LiteWait
Copy link

LiteWait commented Jul 6, 2011

As a test using the demo application I am trying to replace the detail view with another controller.

I instantiate my new detailviewcontroller and try and use MGSplitViewController:setDetailViewController and nothing happens.

I can trace the code till it hits [self layoutSubViews] but the view doesn't change.

What am I doing wrong here?

@acf
Copy link

acf commented Oct 27, 2011

I've seen this issue when you try and switch the detail programmatically before the master popover has ever been displayed...

workaround is to programmatically show then hide the popover prior to the setDetail call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants