I have 2 question about popover view that:
I use popoverController to show a UIViewController with a NavigationController, in this viewController contain 2 UITableViews, Cancel and Done buttons on navigationController.
1 - When I tried to set background color or background image (by [UIColor colorWithPatternImage:[UIImage imageNamed:@"ViewBg.png"]];), but there is no effect for both tableView and viewController.view. The background color still as default color.
2 - I would like to dismiss the popView when tapping on Cancel or Done button, I tried to pass popoverController to nested viewController then call dismissPopoverAnimated: but not luck.
Does anyone know how to do this please help me! Thanks in advance!