I’m sure there’s something obvious I’m missing here, but I know that popover controls can have “titles”, a header area that has a line of text above the content view (e.g. the “Tools” popover in iWork).
How can I add this in my own popovers?
Thanks.
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’re using a UIPopoverController, just make its
contentViewControllerto be aUINavigationController, and set thetitleof its deepest view controller.If you’re using a UIActionSheet, it has a
titleproperty already (which you should notice when initializing with-initWithTitle:….)