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.
下部のタブビュー ボタンをカスタマイズして、さまざまなサイズや形状にする方法はありますか。このようなもの:
ありがとう!
の形状やサイズを変更したい場合はUITabBar、残念ながら をサブクラス化しても変更できませんUITabBar。
UITabBar
開始するには、別のタイプの のサブクラス化 (UIViewバニラUIViewまたはのいずれか) を見UIImageViewて、それらにアイコンを追加し、タッチ イベントを構成して、それらが必要な動作を行うようにすることをお勧めします。
UIView
UIImageView
開始するのに役立つリソースを次に示します。