summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/darwin/test/MGLStyleLayerTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/darwin/test/MGLStyleLayerTests.m b/platform/darwin/test/MGLStyleLayerTests.m
index ae0a59edd3..b16bcfed56 100644
--- a/platform/darwin/test/MGLStyleLayerTests.m
+++ b/platform/darwin/test/MGLStyleLayerTests.m
@@ -5,7 +5,7 @@
- (void)setUp {
[super setUp];
#if TARGET_OS_IPHONE
- UIApplication *app = [[UIApplication sharedApplication] delegate];
+ UIApplication *app = [UIApplication sharedApplication];
UIViewController *vc = [[UIViewController alloc] init];
app.keyWindow.rootViewController = vc;
[vc view]; // Force load xib