aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/ios7/ios7_video.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ios7/ios7_video.mm b/backends/platform/ios7/ios7_video.mm
index 35df78ea51..160a905997 100644
--- a/backends/platform/ios7/ios7_video.mm
+++ b/backends/platform/ios7/ios7_video.mm
@@ -804,7 +804,7 @@ uint getSizeNextPOT(uint size) {
#if __has_builtin(__builtin_available)
if ( @available(iOS 11,*) ) {
#else
- if ( [[UIApplication sharedApplication] keyWindow] respondsToSelector:@selector(safeAreaInsets) ) {
+ if ( [[[UIApplication sharedApplication] keyWindow] respondsToSelector:@selector(safeAreaInsets)] ) {
#endif
CGRect screenSize = [[UIScreen mainScreen] bounds];
UIEdgeInsets inset = [[UIApplication sharedApplication] keyWindow].safeAreaInsets;