mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix failing test on ios 11 (#4686)
Add new perf-test page for view recycling Changed the initialization of TextTransformation field
This commit is contained in:
@@ -132,7 +132,7 @@ export class ImageSource implements ImageSourceDefinition {
|
||||
|
||||
const data = getImageData(this.ios, format, quality);
|
||||
if (data) {
|
||||
return data.writeToFileAtomically(path, true);
|
||||
return NSFileManager.defaultManager.createFileAtPathContentsAttributes(path, data, null);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user