mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 03:31:45 +08:00
fix(iOS): check for iOS 13 APIs (#8093)
This commit is contained in:
@ -59,7 +59,7 @@ export class HtmlView extends HtmlViewBase {
|
||||
null
|
||||
);
|
||||
|
||||
if (majorVersion >= 13) {
|
||||
if (majorVersion >= 13 && UIColor.labelColor) {
|
||||
this.nativeViewProtected.textColor = UIColor.labelColor;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user