We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-(IBAction)popover:(id)sender { //NSLog(@"popover retain count: %d",[popover retainCount]);
// SAFE_ARC_RELEASE(popover); popover=nil;
//the controller we want to present as a popover DemoTableController *controller = [[DemoTableController alloc] initWithStyle:UITableViewStylePlain]; controller.delegate = self; popover = [[FPPopoverKeyboardResponsiveController alloc] initWithViewController:controller]; popover.tint = FPPopoverDefaultTint;
// popover.keyboardHeight = _keyboardHeight;
if(UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { popover.contentSize = CGSizeMake(300, 500); } else { popover.contentSize = CGSizeMake(200, 300); } if(sender == transparentPopover) { popover.alpha = 0.5; } if(sender == _noArrow) { //no arrow popover.arrowDirection = FPPopoverNoArrow; [popover presentPopoverFromPoint: CGPointMake(self.view.center.x, self.view.center.y - popover.contentSize.height/2)]; } else { //sender is the UIButton view popover.arrowDirection = FPPopoverArrowDirectionAny; [popover presentPopoverFromView:sender]; }
}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
-(IBAction)popover:(id)sender
{
//NSLog(@"popover retain count: %d",[popover retainCount]);
// SAFE_ARC_RELEASE(popover); popover=nil;
// popover.keyboardHeight = _keyboardHeight;
}
The text was updated successfully, but these errors were encountered: