I m using a menu bar like this (using UIBUTTONS on an ImageView)

Now what I required to do is that when I click on each button a popover (subview) should come up like:

How can I do that?
My second question is that when i click on the same button or anywhere else on the view then the popover should get hide and if i click on another menu button popover should get hide from previous button and should be shown on other button…
My project is already created with UIviewcontroller, so i think it would be much difficult to include the tab bars
any help please …
-(IBAction)buttonNotify:(id)sender{
popOver.frame = CGRectMake(173, 385, 88, 33);
[self.view addSubview:popOver];
}
In .h file of your ViewController declare
In .m file in initialisation initialise it, something like
Also when you create your buttons you do it like this, yep?
And implement method
And you when you handle touch on your view, set
popupView.hidden = YESto hide itAlso you can add some animation.