how to dismiss action sheet

后端 未结 3 1023
甜味超标
甜味超标 2021-01-17 13:42

i used this code to show uipicker in uiactionsheet but when i click close button i want to remove action sheet from view. so what should be the code for removing actionSheet

3条回答
  •  青春惊慌失措
    2021-01-17 13:59

    All you need to do is dismiss the ActionSheet, which you could do with dismissWithClickedButtonIndex:animated:

提交回复
热议问题