ios 8 custom keyboard hold button to delete?

前端 未结 4 524
无人共我
无人共我 2021-01-13 12:03

I am currently building a custom keyboard and I am almost done. One problem that I have is with the delete button. When the user taps the delete button, it does what it shou

4条回答
  •  别那么骄傲
    2021-01-13 12:19

    Set a counter as soon as the screen is touched, such as 2-5 seconds. The situation known as Long press gesture, and here is the link to the simliar questions.

    Long press gesture on UICollectionViewCell

提交回复
热议问题