0

タブ付き iOS アプリケーションでタブの位置を変更する方法はありますか? タブが下ではなく上にあることを望みます。

4

3 に答える 3

2

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.

于 2012-05-14T19:23:54.547 に答える
0

標準の Apple に関してはUITabBarいいえ。ただし、 を使用して、独自のカスタム タブ バー スタイル コントロールを作成できますUISegmentedControl

別の Web サイトにあるこの例を試してください: http://www.iphonedevsdk.com/forum/iphone-sdk-development/35054-display-tab-bar-items-top-screen.html#post149060

于 2012-05-14T19:21:41.060 に答える
0

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.

于 2012-05-14T19:23:35.457 に答える