Refresh the view controller from popover
I have a view controller which has 100 pages (every page is different), from this controller I open a popover view and inside this popover there are buttons which are planned to change the pages开发者_如何学C. For example, if "number 10" button is pressed from popover, the 10th page should come in view controller. But I couldn't implement it. The code passes the view controller and to the correct method but the page doesnt change and also the popover view controller is not dismissed. I miss something but what is that? If someone can help me, I'll be so glad.
PS. i dont use tableview
Kind regards, Can
first of, who's your PopOver delegate? Our UIViewController? Is he a UIPopOverControllerDelegate? If yes, have you implemented, for example this method:
- (void)popoverControllerDidDismissPopover:(UIPopoverController *)popoverController
So you know when it was dismissed? Give me some feedback. :)
精彩评论