UIPopoverController, how to set background for popover?
[[[self.popoverController contentViewController] view] setBackgroundColor:[UIColor blueColor]];
This doesn’t work((
Background in popover should be different than in tableView (root).
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.
UIPopoverControlleris inherited fromNSObjectand it has no background property or own view for customizing view’s background. So, in this case you can only manipulate the view ofcontentViewController.And your code works fine for me. Background is blue in tableview now.