如何查看 iOS SDK 提供的所有图标以及如何将它们设置到我的 UITabBarController 选项卡?
问问题
993 次
1 回答
8
可能还有更多,但您可以在 Interface Builder 中查看选项卡栏项的“标识符”的下拉列表(在 Inspector 视图中)。
更新:完整列表在这里:
typedef enum {
UITabBarSystemItemMore,
UITabBarSystemItemFavorites,
UITabBarSystemItemFeatured,
UITabBarSystemItemTopRated,
UITabBarSystemItemRecents,
UITabBarSystemItemContacts,
UITabBarSystemItemHistory,
UITabBarSystemItemBookmarks,
UITabBarSystemItemSearch,
UITabBarSystemItemDownloads,
UITabBarSystemItemMostRecent,
UITabBarSystemItemMostViewed,
} UITabBarSystemItem;
看起来它只是 Interface Builder 显示的那些。
如果您正在寻找自定义图标,请查看此线程。
于 2011-08-18T08:02:04.030 回答