苹果在“视图控制器编程指南”中提供了一个创建UITabBarItem的示例,如下所示:
- (id)init {
if (self = [super initWithNibName:@"MyViewController" bundle:nil]) {
self.title = @"My View Controller";
UIImage* anImage = [UIImage imageNamed:@"MyViewControllerImage.png"];
UITabBarItem* theItem = [[UITabBarItem alloc] initWithTitle:@"Home" image:anImage tag:0];
self.tabBarItem = theItem;
[theItem release];
}
return self;
}
然而,我是一个不懂图形设计的人,想要使用苹果内置的图标来制作选项卡栏项目。我该怎么做?有哪些可用图标及其名称的列表?