mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
ai fixed (#3488)
This commit is contained in:
@@ -13,12 +13,16 @@ export class ActivityIndicator extends ActivityIndicatorBase {
|
||||
this.nativeView.hidesWhenStopped = true;
|
||||
}
|
||||
|
||||
get ios(): UIActivityIndicatorView {
|
||||
return this.nativeView;
|
||||
}
|
||||
|
||||
get [busyProperty.native](): boolean {
|
||||
if (ios.MajorVersion > 9) {
|
||||
return this.nativeView.animating;
|
||||
if ((<any>this.nativeView).isAnimating) {
|
||||
return (<any>this.nativeView).isAnimating();
|
||||
}
|
||||
else {
|
||||
return (<any>this.nativeView).isAnimating();
|
||||
return this.nativeView.animating;
|
||||
}
|
||||
}
|
||||
set [busyProperty.native](value: boolean) {
|
||||
|
||||
Reference in New Issue
Block a user