GitHawkApp / ContextMenu

An iOS context menu UI inspired by Things 3.
http://githawk.com/
MIT License
982 stars 51 forks source link

How do I close the ContextMenu by code #48

Open spaggi opened 5 years ago

spaggi commented 5 years ago

Hi,

sorry if this is a dumb question but I couldn't find a way to close the ContextMenu by code without altering the Source. Is this possible?

Thanks!

Durzan666 commented 5 years ago

You can call self.dismiss(true, nil) in the ViewController of the ContextMenu.