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 を強調表示しようとしています。
上の画像のように白い光を広げたいです。
そのために使用する必要があるプロパティはありますか?
ありがとう。
あなたのxibで->選択ボタン->属性インスペクターを表示します
このプロパティを下の画像のように設定します
そしてコードで
btn.showsTouchWhenHighlighted = YES;
それがあなたを助けることを願っています..