iOSContextualMenu icon indicating copy to clipboard operation
iOSContextualMenu copied to clipboard

Presenting Programmatically

Open willsmillie opened this issue 6 years ago • 1 comments

Is there a way to present the menu programmatically?

willsmillie avatar Mar 16 '18 17:03 willsmillie

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!

hectormatos2011 avatar Mar 18 '18 15:03 hectormatos2011