UIActionSheet with buttons without deviation

I want to create a UIActionSheet with one regular Cancel button, as usual, but with a few unmanageable buttons, since all the buttons on the action sheet reject the sheet when touched. I tried to add UIButtons using addSubView, but Im was having a hard time dealing with the size of the ActionSheet. Any tips?

TY!

+3
source share
1 answer

I do not believe that you can do this using a UIActionSheet.

However, you can create your own view that looks like an ActionSheet and add it to the view in question. Add some basic animation so that it glides up and down and viola! You will have a custom UIActionSheet!

+1

Source: https://habr.com/ru/post/1792601/


All Articles