FPPopover won't pop up on button press, just NSLogs “FPPopoverController dealloc”
问题 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? 回答1: Here's my implementation that's working in production. Try this out. It may just be