现在我在我的应用程序中使用Three20。我有一个问题,当我使用 运行应用程序时MainWindow.xib
,TTTableview
没有调用该类。但没有MainWindow.xib
它会调用TTTableview
类。我不知道为什么会这样。请帮帮我。
谢谢。
现在我在我的应用程序中使用Three20。我有一个问题,当我使用 运行应用程序时MainWindow.xib
,TTTableview
没有调用该类。但没有MainWindow.xib
它会调用TTTableview
类。我不知道为什么会这样。请帮帮我。
谢谢。
在您的 AppDelegate 代码中
删除 mainWindow.xib
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary
*)launchOptions {
if (![navigator restoreViewControllers]) {
[navigator openURLAction:[TTURLAction actionWithURLPath:kAppRootURLPath]];
}
}
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, @"YOURAppDelegate");
[pool release];
return retVal;
}