- NativeScript Core
- NativeScript with Angular
- NativeScript with Vue.js
- API Reference
- NativeScript Sidekick
Module with ios specific utilities.
Gets the iOS device major version (for 8.1 will return 8).
Gets the root folder for the current application. This Folder is private for the application and not accessible from Users/External apps. iOS - this folder is read-only and contains the app and all its resources.
Gets the currently visible(topmost) UIViewController.
The root UIViewController instance to start searching from (normally window.rootViewController). Returns the visible UIViewController.
Checks if the property is a function and if it is, calls it on this. Designed to support backward compatibility for methods that became properties. Will not work on delegates since it checks if the propertyValue is a function, and delegates are marshalled as functions. Example: getter(NSRunLoop, NSRunLoop.currentRunLoop).runUntilDate(NSDate.dateWithTimeIntervalSinceNow(waitTime));
Gets an information about if current mode is Landscape.
Joins an array of file paths.
An array of paths. Returns the joined path.
Opens file with associated application.
The file path.