Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/44.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Iphone 设置项目的宽度和高度_Iphone_Cocoa Touch_Three20_Dimensions_Ttlauncheritem - Fatal编程技术网

Iphone 设置项目的宽度和高度

Iphone 设置项目的宽度和高度,iphone,cocoa-touch,three20,dimensions,ttlauncheritem,Iphone,Cocoa Touch,Three20,Dimensions,Ttlauncheritem,我有这个: _launcherView.pages = [NSArray arrayWithObjects: [NSArray arrayWithObjects: [[[TTLauncherItem alloc] initWithTitle:@"New Note" image:@"bundl

我有这个:

_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像素


谢谢

您可以使用已注册的样式表完全控制该项。只需注册您自己的默认样式表,然后覆盖
TTDefaultStylesheet
方法:

- (TTStyle*)launcherButton:(UIControlState)state;