mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
NativeView recycled for android
This commit is contained in:
@@ -14,7 +14,7 @@ export class Image extends ImageBase {
|
||||
super();
|
||||
|
||||
//TODO: Think of unified way of setting all the default values.
|
||||
this._ios = UIImageView.new();
|
||||
this.nativeView = this._ios = UIImageView.new();
|
||||
this._ios.contentMode = UIViewContentMode.ScaleAspectFit;
|
||||
this._ios.userInteractionEnabled = true;
|
||||
this._setNativeClipToBounds();
|
||||
|
||||
Reference in New Issue
Block a user