mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fixed iOS BCL to use properties instead of methods.
Fixed web_client to call .toString() on NSString Fixed BCL project to use version 1.0
This commit is contained in:
@@ -51,10 +51,10 @@ export class Image {
|
||||
}
|
||||
|
||||
public getHeight(): number {
|
||||
return (this.ios) ? this.ios.size().height : NaN;
|
||||
return (this.ios) ? this.ios.size.height : NaN;
|
||||
}
|
||||
|
||||
public getWidth(): number {
|
||||
return (this.ios) ? this.ios.size().width : NaN;
|
||||
return (this.ios) ? this.ios.size.width : NaN;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user