Revert "iOS: Account for when the older SDK is used when building"
This reverts commit 631efee293
.
Reason for revert: This causes a problem when running on iOS 11 devices.
Change-Id: If5194989b8d7a9f4cf2d72e770fdaad754d7e236
Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
This commit is contained in:
parent
c37af0ba2d
commit
a7a24784ee
@ -70,8 +70,3 @@ QT_END_NAMESPACE
|
||||
@property (nonatomic, readonly) UIEdgeInsets qt_safeAreaInsets;
|
||||
@end
|
||||
|
||||
#if !QT_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(130000)
|
||||
@interface UITextInteraction : NSObject
|
||||
@end
|
||||
#endif
|
||||
|
||||
|
@ -628,6 +628,7 @@ Q_LOGGING_CATEGORY(lcQpaTablet, "qt.qpa.input.tablet")
|
||||
#endif
|
||||
}
|
||||
|
||||
#if QT_IOS_PLATFORM_SDK_EQUAL_OR_ABOVE(130000)
|
||||
- (void)addInteraction:(id<UIInteraction>)interaction
|
||||
{
|
||||
if (__builtin_available(iOS 13.0, *)) {
|
||||
@ -637,6 +638,7 @@ Q_LOGGING_CATEGORY(lcQpaTablet, "qt.qpa.input.tablet")
|
||||
|
||||
[super addInteraction:interaction];
|
||||
}
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user