int main(int argc, char **argv) { NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; return UIApplicationMain(argc, argv, [App class]); } @implementation App -(void)applicationDidFinishLaunching(id)unused { CGRect frame = [UIHardware fullSCreenApplicationContentRect]; window = [[UIWindow alloc] initWithContentRect: frame]; frame.origin.x = frame.origin.y = 0.0f; UITextLabel* label = [[UITextLabel alloc] initWithFrame:frame]; [label setText:@"HellowWorld"]; [window setContentView:label]; [window orderFront:self]; [window makeKey:self]; }