I have a rightBarButtonItem
that slides up a view from the bottom of the screen like a UIActionSheet
, and everything works fine except when I press a button that pushes a UIViewController
and the rightBarButton
almost at the same time, the two will both execute, thus resulting in a slide-up view over a screen that is totally unrelated.
Is there a way to get some notification or something so I can stop the view from animating when a view controller is being pushed, or the other way around?