objective c - Problems in TTTableview class using Three20 in iPhone? -
now using three20 in apps. have problem, when run application mainwindow.xib
, tttableview
class isn't called. without mainwindow.xib
call tttableview
class. don't know why it's happening. please me out.
thanks.
in appdelegate code
delete mainwindow.xib
- (bool)application:(uiapplication *)application didfinishlaunchingwithoptions:(nsdictionary *)launchoptions { if (![navigator restoreviewcontrollers]) { [navigator openurlaction:[tturlaction actionwithurlpath:kapprooturlpath]]; } }
in main.m
#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; }
Comments
Post a Comment