I have a bar button item that I want to press programmatically, basically the equivalent of
buttonObj.sendActionsForControlEvents(UIControlEvents.TouchUpInside)
but as a bar button item
edit: I forgot to mention, I can't simply call the action method for the button since I'm using the SWRevealViewController library and using their "revealToggle:"
action on the bar button item, which I'm not sure how to call on its own.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With