Set the width and height for a TTLauncherItem

Posted by Koning Baard on Stack Overflow See other posts from Stack Overflow or by Koning Baard
Published on 2010-06-06T14:29:24Z Indexed on 2010/06/06 14:32 UTC
Read the original article Hit count: 434

I have this:

_launcherView.pages = [NSArray arrayWithObjects:
                       [NSArray arrayWithObjects:
                        [[[TTLauncherItem alloc] initWithTitle:@"New Note"
                                                         image:@"bundle://Icon.png"
                                                         style:TTSTYL
                                                           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];

How can I set the width and height for the items? I want all items to be 64x64 pixels.

Thanks

© Stack Overflow or respective owner

Related posts about iphone-sdk

Related posts about cocoa-touch