How can you access the style of a root view of a split view controller in UIBuilder?
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.
There is no API access to the UISplitViewController’s top-level view, all you can control are the sub-views. For those you simply adjust the style as you otherwise would any other UIView.
edit:
If you’re attempting to change the header on the left hand side, if you have xCode 4, you can do it directly in the IB interface simply by clicking the UINavBar and changing the tint in the inspector. If you don’t, you’ll have to create an outlet to the UINavigationBar in your rootViewController and do something like: UINavigationBarAtTopOfRootView.tintColor = [UIColor colorWithRed:1 green:1 blue:1 alpha:1 ]
see: UIColor Class Reference