I have the following code:
- (IBAction)textOptionsTapped:(UIBarButtonItem *)sender {
UIView *buttonView = [sender valueForKey:@"view"];
FPPopoverController *popover = [[FPPopoverController alloc] init];
popover.arrowDirection = FPPopoverArrowDirectionDown;
[popover presentPopoverFromView:buttonView];
}
What exactly is causing my app to NSLog "FPPopoverController dealloc" every time I press the button?