I want to use a pop-up menu when I click on a plus icon in the navigation bar that looks like the pic I attached. Can you please instruct me how can I accomplish that?
Thanks a bunch!
Thanks for the help guys, I got my answer, and if someone is looking for a direct link to the apple documentation here it is: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/UIKitUICatalog/UIActionSheet.html#//apple_ref/doc/uid/TP40012857-UIActionSheet
This is VERY old thread. UIActionSheet has been deprecated for years, and the right solution now is to use the action sheet appearance of a UIAlertController
.
I'm leaving the answer below for historical reasons, but in modern code you should use a UIAlertController
.
As rdelmar says, that's a UIActionSheet. @rdelmar, you should post that as an answer so the OP can accept it.
You would add a UIBarButtonItem built from a custom view (a button) and attach an action to the button that invokes and displays a UIActionSheet.