CaliCastle / PopMenu

A fully customizable popup style menu for iOS 😎
https://popmenu.cali.so
MIT License
1.6k stars 182 forks source link

I don't have any issue, just a request , how can I open a ViewController when I press on PopMenu button? #11

Closed nsoud closed 5 years ago

nsoud commented 5 years ago

hi; I don't have any issue, just a request , how can I open a ViewController when I press on PopMenu button? Kind Regards;

CaliCastle commented 5 years ago

Hey,

Can’t you push a new ViewController when the menu is dismissed?

Example: (in your viewcontroller class) let action1 = PopMenuDefaultAction(title: "Action 1", didSelect: { action in self.navigationController.push(viewController); })