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?
Here's my implementation that's working in production. Try this out. It may just be that you haven't set all the properties correctly.
// Instantiate popover
Let me know if that helps