我有这个:
_launcherView.pages = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:
[[[TTLauncherItem alloc] initWithTitle:@"New Note"
image:@"bundle://Icon.png"
URL:@"http://www.google.com/" canDelete:NO] autorelease],
[[[TTLauncherItem alloc] initWithTitle:@"To Do Items"
image:@"bundle://Icon.png"
URL:@"http://www.yahoo.com/" canDelete:NO] autorelease],
nil],
nil];如何设置项目的宽度和高度?我希望所有的项目都是64x64像素。
谢谢
发布于 2010-06-07 00:32:32
通过使用已注册的样式表,您可以完全控制项目。只需注册您自己的默认样式表,然后覆盖TTDefaultStylesheet方法:
- (TTStyle*)launcherButton:(UIControlState)state;https://stackoverflow.com/questions/2984528
复制相似问题