summaryrefslogtreecommitdiff
path: root/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/Integration Tests/MGLMapViewIntegrationTest.m')
-rw-r--r--platform/ios/Integration Tests/MGLMapViewIntegrationTest.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m
index 3240ffa2a8..8fb41d0d11 100644
--- a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m
+++ b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.m
@@ -1,5 +1,9 @@
#import "MGLMapViewIntegrationTest.h"
+@interface MGLMapView (MGLMapViewIntegrationTest)
+- (void)updateFromDisplayLink;
+@end
+
@implementation MGLMapViewIntegrationTest
- (void)setUp {
@@ -90,7 +94,7 @@
// waitForExpectations below
timer = [NSTimer scheduledTimerWithTimeInterval:1.0/30.0
target:self.mapView
- selector:NSSelectorFromString(@"updateFromDisplayLink")
+ selector:@selector(updateFromDisplayLink)
userInfo:nil
repeats:YES];
}