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.
現在のバージョンの Twiiter には、次のようなタブ バーがあります。
タブを選択すると、選択したタブが押された状態 (より深いタブ) として表示されます。iOS 5 用の iPhone アプリに同じ種類のタブ バーを実装したいのですが、どうすれば実装できますか? どんな助けでも大歓迎です。ありがとう
selectionIndicatorImage自分でより深い外観のイメージを作成し、 でプロパティを設定する必要がありますUITabBar。
selectionIndicatorImage
UITabBar
AppDelegate で外観プロキシを使用してこれを設定するのがおそらく最も簡単です。
[[UITabBar appearance] setSelectionIndicatorImage:yourImage];