Important facts about commercial licenses

  • Licenses are perpetual. They do not expire and do not need to be renewed.
  • Licenses can be upgraded. You can upgrade to a more expensive license later paying only the difference in cost.
  • Pay attention to the distribution type - Hosted (sites / servers), binary (applications) or source (includes all the others). Choose according to your needs (more below).
  • All licenses allow commercial use unless otherwise indicated.
  • Read the full license by clicking on the icon.
  • Read more about licenses in our handy license guide.
$49

Single App License

1 application Binary restricted distribution
$199

Distributor License

Unlimited projects Source and binary distribution 6 months support
You need to log-in or create an account
  • Create an account
  • Log-in
  • Please use your real name.
  • Account activation link will be sent to this address.
  • Minimum 8 characters

Clicking this button confirms you read and agreed to the terms of use and privacy policy.

(18 ratings)

Popover Menu for iOS

Popover Menu for iOS
Developed by Kemal Taskin, Released Oct 28, 2011

A great looking alternative to UIActionSheet. Use this popover menu to show a pixel perfect grid of buttons.

Objective-C

Tags: ios , menu , popover , sheet

Popup over menu for iOS

Popover Menu is a custom component that you can use to show a pixel perfect popover menu containing a grid of buttons. This component is specially designed to be used with UIBarButtonItem buttons.

The background of the popup is completely drawn using Core Graphics. Thanks to Core Graphics the borders and shadows are pixel perfect and just gorgeous. Since no images are used for the background you can easily modify the look of the popover menu by playing with the values of the constants defined in the class YLPopoverMenu.m.

You can customize the following properties of Popover Menu:

  • background color
  • shadow color
  • shadow offset
  • shadow blur
  • border radius

Popover Menu supports landscape and portrait orientations!

Popup over menu demo

Back to top

How to Use

1. Create a YLPopoverMenu Object.

NSMutableArray *items = [NSMutableArray array];
[items addObject:[YLMenuItem menuItemWithTitle:@"Home" icon:[UIImage imageNamed:@"hi.png"] pressedIcon:[UIImage imageNamed:@"hpi.png"]]];
[items addObject:[YLMenuItem menuItemWithTitle:@"Messages" icon:[UIImage imageNamed:@"mi.png"] pressedIcon:[UIImage imageNamed:@"mpi.png"]]];
[items addObject:[YLMenuItem menuItemWithTitle:@"Photos" icon:[UIImage imageNamed:@"pi.png"] pressedIcon:[UIImage imageNamed:@"ppi.png"]]];

YLPopoverMenu* menu = [YLPopoverMenu popoverMenuWithItems:items target:self];
[menu setDelegate:self];
[menu presentPopoverFromBarButtonItem:button animated:YES];

2. Implement the delegate method.

- (void)popoverMenu:(YLPopoverMenu *)menu didSelectItem:(int)item {
    NSLog(@"You tapped on item %@", [menu buttonTitleAtIndex:item]);
}

3. Or attach individual selectors to menu items.

[YLMenuItem menuItemWithTitle:@"Home" icon:[UIImage imageNamed:@"hi.png"] pressedIcon:[UIImage imageNamed:@"hpi.png" selector:@selector(homeTapped)]

// YLPopoverMenu will call this method on the main thread
- (void)homeTapped {
    NSLog(@"You tapped on the Home button.");
}
View all 16 reviews »

User Reviews

  • Claudio Casagrande 4 months ago
    Great
    Flag
    Was this helpful? Yes No
  • Markelsoft 5 months ago
    Very nice and easy to use. Could not be happier.
    Flag
    Was this helpful? Yes No
  • Jason Pan 8 months ago
    A very well-made and useful component. I've been using this in many of my apps. Replicates Apple's version of it for iPad very nicely.
    Flag
    Was this helpful? Yes No
Read all 42 comments »

Questions & Comments


Or enter your name and Email
  • SANJAY WAZA License holderSingle App License 15 hours ago
    How can I display the popover in middle of the screen by changing X and Y positions ?
    • Kemal Taskin Developer 3 hours ago
      Hi Sanjay,

      Popover Menu is designed to be used with UIBarButtonItems in toolbars or navigation bars. The x and y positions are automatically calculated and can't be changed.
  • Philipp 1 month ago
    Hi Kemal,
    The popover menu looks quite interesting.
    Is it possible to display the menu without being connected to the button you have to press to show the menu? Can I display the menu wherever I want? Thank you. Have a nice day.
    • Kemal Taskin Developer 1 month ago
      Hi Philipp,

      No, Popover Menu is designed to be shown from UIBarButtonItems in UINavigationBar or UIToolbar. So you can't show it for example in the middle of the screen.
  • Markelsoft License holderDeveloper License 5 months ago
    Nice component. Would like to see ability to display from a UIButton or UIView. Would make anything you'd want to do with the component possible. Good but limited now. Covers main use but UIView support would make it more flexible for developers.
You must be logged-in to vote. Log-in to your account or register now.