Require iOS 13.4.1 to enable pointer interaction to avoid crashing on beta iOS 13.4 builds

This commit is contained in:
Cameron Gutman
2020-05-01 19:47:52 -07:00
parent 78e16b0e29
commit 99c160f8e5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ static UIImage* noImage;
self.layer.shouldRasterize = YES;
self.layer.rasterizationScale = [UIScreen mainScreen].scale;
if (@available(iOS 13.4, *)) {
if (@available(iOS 13.4.1, *)) {
// Allow the button style to change when moused over
self.pointerInteractionEnabled = YES;
}
+1 -1
View File
@@ -78,7 +78,7 @@ static const int LABEL_DY = 20;
[self addSubview:_hostOverlay];
[self addSubview:_hostSpinner];
if (@available(iOS 13.4, *)) {
if (@available(iOS 13.4.1, *)) {
// Allow the button style to change when moused over
self.pointerInteractionEnabled = YES;
}