开发者

How to make a zone where user can tap to do a specify action)?

开发者 https://www.devze.com 2022-12-16 03:39 出处:网络
How to make a zone where user can tap to do a specify action)? same below pi开发者_运维百科cture:

How to make a zone where user can tap to do a specify action)? same below pi开发者_运维百科cture:

How to make a zone where user can tap to do a specify action)?

Please help me!


Put a transparent UIButton in that zone.


The easiest way I think is to put there an instance of UIButton with UIButtonTypeCustom type (that is with no image and transparent background) and set showsTouchWhenHighlighted to NO.

0

精彩评论

暂无评论...
验证码 换一张
取 消