Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何创建一个用户可以点击以执行指定操作的区域)?下图相同:
请帮我!
UIButton在那个区域放一个透明的。
UIButton
我认为最简单的方法是放一个 UIButton 类型为 UIButtonTypeCustom 的实例(即没有图像和透明背景)并将 showTouchWhenHighlighted 设置为 NO。