Stijn Westerhof Stijn Westerhof - 4 months ago 9
iOS Question

Is it possible to change the black 'background color' of iOS apps?

I am making a app with a cube animation. There will appear a black background when I swipe to another viewcontroller. Is there any solution for this?
enter image description here

More advanced

Thanks for the solution! I dont know if it is possible, but does anyone know if you can put something like a svg image on the window background?

Answer

Objective-C

  - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {

self.window.backgroundColor = [UIColor orangeColor]; // customize ur self

}

Swift

  func application(application: UIApplication!, didFinishLaunchingWithOptions launchOptions: NSDictionary!) -> Bool {

  self.window!.backgroundColor = UIColor.orangeColor() // customize ur self

}