How do you change the the title on the popup window in a split-view project? It currently says “Root View Controller” in a split-view project?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you don’t mind having the same title when it’s also in landscape mode (no popup), then in the
viewDidLoadmethod ofRootViewController, you can do:or in IB:
If you want one title in landscape and another for the popup, that can be done by adding code in the
willHideViewControllerandwillShowViewControllerdelegate methods. In the standard split view template, these are implemented inDetailViewController.The code would be (assuming the left side view controller is a navigation controller like in the template):