0
現在我在我的應用程序中使用Three20。我有一個問題,當我運行MainWindow.xib
應用程序時,TTTableview
類不被調用。但是如果沒有MainWindow.xib
,它會調用TTTableview
類。我不知道爲什麼會發生。請幫助我。iPhone中使用Three20的TTTableview類中的問題?
謝謝。
現在我在我的應用程序中使用Three20。我有一個問題,當我運行MainWindow.xib
應用程序時,TTTableview
類不被調用。但是如果沒有MainWindow.xib
,它會調用TTTableview
類。我不知道爲什麼會發生。請幫助我。iPhone中使用Three20的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;
}
請以添加更多的代碼爲我們提供進一步的幫助。 – fuzz 2011-08-26 00:34:44