0
Code Mein Stück ist ...Wenn ich meine iPhone-Anwendung starte, wird nur ein weißes Fenster angezeigt, aber wenn ich die Home-Taste drücke, wird die Ausgabe angezeigt, was ist daran falsch?
window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
window.backgroundColor = [UIColor blackColor];
CGRect rect = CGRectMake(0,0,320,480);
view = [ [ UIView alloc ] initWithFrame:rect ];
view.backgroundColor = [UIColor blueColor];
[window addSubview:view];
// Override point for customization after application launch
[window makeKeyAndVisible];