タブ付き iOS アプリケーションでタブの位置を変更する方法はありますか? タブが下ではなく上にあることを望みます。
3 に答える
UITabBar
is intended to be used at the bottom. That's what users expect. There are good reasons for this, such as being able to change tabs with your thumb.
Even if you have a great reason why your application should behave differently from all the others, repositioning a UITabBar
to the top will just look and feel wrong to users, who will know that that should not be there. Best to implement your own in that case, and make it quite clearly NOT a UITabBar
.
標準の Apple に関してはUITabBar
、いいえ。ただし、 を使用して、独自のカスタム タブ バー スタイル コントロールを作成できますUISegmentedControl
。
別の Web サイトにあるこの例を試してください: http://www.iphonedevsdk.com/forum/iphone-sdk-development/35054-display-tab-bar-items-top-screen.html#post149060
In regards to the standard Apple UITabbar no. And this is for a reason because moving them to the top goes agains HIG and the standard interface.
If you require something at the top you should look at a UIToolBar but consider what you're doing before simple putting your most valuable app buttons at the top when users expect them at the bottom.