I'm not sure if this was answered, so I give him a chance, just for the record:
Make sure the buttons are not beyond any supervision.
I found that a button located outside of this may not work. Think about it, this is strange. I came across this when I pretended to have buttons that enliven from the bottom. Underneath this, I have a gray, tangible view that lets you undo. The only problem was that 1) for the gray area, I used the parent view and 2) I let this gray area shrink when the subtask is animated in place ... so that as a result, the buttons became outside, and that didn't work.
The solution was to leave the view in full size and add as gray, or make the first gray and not decrease (the only reason I wanted to avoid this was that it would create a bunch of translucent layers, which is not optimal ) Then a view with buttons on top. :)
Hope this helps.
Eilif source share