iOS: Set background color of UIWindow and root UIView to burn your eyes

Convenient to aid debugging during development of the platform plugin.

Change-Id: Id429ca95e0452385ee8def1fe4a1bb7de175ba3e
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
bb10
Tor Arne Vestbø 2012-11-08 14:48:18 +01:00
parent caacccaaf0
commit 231796c98d
1 changed files with 4 additions and 2 deletions

View File

@ -68,8 +68,10 @@
}
}
// Override point for customization after application launch.
self.window.backgroundColor = [UIColor whiteColor];
// Aid debugging during development
self.window.backgroundColor = [UIColor cyanColor];
controller.view.backgroundColor = [UIColor magentaColor];
[self.window makeKeyAndVisible];
return YES;
}