tags:

views:

68

answers:

1

Hi,

I can't figure out why it doesn't work as it should when I try to dismiss a popover by clicking on a UIButton which itself is on a the popover to be dismissed, my project crashes...

- (IBAction) cancelButton: (id) sender{
//[self dismissPopoverAnimated:YES];
}

Above is my code for my UIButton

A: 

Maybe you should uncomment that line first.

St3fan
I commented it for it not to crash anymore :s
okayasu