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
[button setShowsTouchWhenHighlighted:YES]