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
私が考える最も簡単な方法は、UIButtonTypeCustom タイプの UIButton のインスタンス (つまり、画像がなく、背景が透明) を配置し、showTouchWhenHighlighted を NO に設定することです。