hectormatos2011/iOSContextualMenu

Presenting Programmatically

Opened this issue · 1 comments

Is there a way to present the menu programmatically?

Sure thing! However I haven't exposed the methods for it. At the moment however, you can set it up with any activate option type other than .asSoonAsPossible and then change it to .asSoonAsPossible to trigger it. You may need to call reloadData afterwards. The other way is that you could submit a pull request to expose the presentMenuItems and dismissMenuItems publicly and I'd be happy to merge it!