openFile add for iOS

This commit is contained in:
Vladimir Enchev
2016-02-03 10:59:35 +02:00
parent 64ef9be626
commit 3bc1aa07ec
2 changed files with 43 additions and 0 deletions

6
utils/utils.d.ts vendored
View File

@@ -188,6 +188,12 @@
* Gets the iOS device major version (for 8.1 will return 8).
*/
export var MajorVersion: number;
/**
* Opens file with associated application.
* @param filePath The file path.
*/
export function openFile(filePath: string): boolean
}
/**
* An utility function that copies properties from source object to target object.