How to add

36 views
Skip to first unread message

伊達政宗

unread,
Nov 27, 2012, 4:46:41 AM11/27/12
to mylau...@googlegroups.com
Hello,

If I want to add KMLViewer (http://developer.apple.com/library/ios/#samplecode/KMLViewer/Introduction/Intro.html) to myLauncher.
Because KMLViewer use Interface Builder, it seems to can't add .xib file to myLauncher ?

I set,

[[self appControllers] setObject:[KMLViewerViewController class] forKey:@"KMLViewerViewController"];

then edit,

[[MyLauncherItem alloc] initWithTitle:@"KMLtest"
                                                                iPhoneImage:@"itemImage"
                                                                  iPadImage:@"itemImage-iPad"
                                                                     target:@"KMLViewerViewController"
                                                                targetTitle:@"KMLtest"
                                                                  deletable:NO],


it will crash ...


Thanks!


Reply all
Reply to author
Forward
0 new messages