Fix the iOS/tvOS platform plugin build on tvOS

This fixes a regression from ba44cdae38.

Task-number: QTBUG-65516
Change-Id: I989b075d3f96170660042349437e4a6a4a115cf9
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Jake Petroules 2018-01-01 21:38:20 -08:00 committed by Liang Qi
parent 624a186295
commit 175d691fa3

View File

@ -58,6 +58,7 @@
+ (void)load
{
#ifndef Q_OS_TVOS
if (QOperatingSystemVersion::current() < QOperatingSystemVersion(QOperatingSystemVersion::IOS, 11)) {
// iOS 11 handles this though [UIView safeAreaInsetsDidChange], but there's no signal for
// the corresponding top and bottom layout guides that we use on earlier versions. Note
@ -72,6 +73,7 @@
}
];
}
#endif
}
+ (Class)layerClass