Adding background for window is not working
问题 I have this code which run very well on XCode 4 / iOS 6 to add background image on window : - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window.backgroundColor = [UIColor colorWithPatternImage:[UIImage imageNamed:@"bgleft"]]; return YES; } but today, when I try to put it into XCode 5 and try to build an app for iOS 7, it's not working anymore. is there something changed from XCode 4 to XCode 5? thank you. 回答1: Try adding a