diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2012-11-08 14:48:18 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-02-27 23:55:40 +0100 |
commit | 231796c98d317f845209e2b470fa34e00aac3c7a (patch) | |
tree | aaccf676d9837b8f8976e9a28c9c293ece664c6c /src/plugins | |
parent | caacccaaf0fbc0a4f4f88af7dadbfece175776d5 (diff) |
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>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/platforms/ios/qiosapplicationdelegate.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/platforms/ios/qiosapplicationdelegate.mm b/src/plugins/platforms/ios/qiosapplicationdelegate.mm index 6fed4c1a23..1b3dc18dd7 100644 --- a/src/plugins/platforms/ios/qiosapplicationdelegate.mm +++ b/src/plugins/platforms/ios/qiosapplicationdelegate.mm @@ -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; } |