Vote count:
0
I have a storyboard with a UIViewController called EntryViewController that uses a popover segue to another UIViewController called PopoverViewController. Everything works perfectly on this front but inside my PopoverViewController I created a UIButton to dismiss the popover but no matter what I do, I cannot get it to work and all tutorials online show users created the popover programically.
I've tried the following:
- (IBAction)dismissPopover:(id)sender {
[self dismissViewControllerAnimated:YES completion:nil];
//[self.parentViewController dismissViewControllerAnimated:YES completion:nil];
}
Any suggestions on how to resolve this or am I doing it completely wrong?
asked 5 mins ago
Dismiss Popover segue in the attached viewcontroller
Aucun commentaire:
Enregistrer un commentaire