Require iOS 13.4.1 to enable pointer interaction to avoid crashing on beta iOS 13.4 builds
This commit is contained in:
parent
78e16b0e29
commit
99c160f8e5
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue