Skip to content

Commit 7ccde5a

Browse files
committed
Merge remote-tracking branch 'origin/pr/363' into develop
2 parents 5ed8c08 + 58918a8 commit 7ccde5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ViewDeck/IIViewDeckController.m

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,9 @@ - (void)centerViewHidden {
22042204
self.centerTapper.frame = [self.centerView bounds];
22052205
[self.centerTapper addTarget:self action:@selector(centerTapped) forControlEvents:UIControlEventTouchUpInside];
22062206
self.centerTapper.backgroundColor = [UIColor clearColor];
2207-
self.centerTapper.accessibilityViewIsModal = YES;
2207+
if ([self.centerTapper respondsToSelector:@selector(accessibilityViewIsModal)]) {
2208+
self.centerTapper.accessibilityViewIsModal = YES;
2209+
}
22082210
}
22092211
[self.centerView addSubview:self.centerTapper];
22102212
self.centerTapper.frame = [self.centerView bounds];

0 commit comments

Comments
 (0)