Options
All
  • Public
  • Public/Protected
  • All
Menu

Module ios

Module with ios specific utilities.

Index

Variables

Const MajorVersion

MajorVersion: number

Gets the iOS device major version (for 8.1 will return 8).

Functions

getCurrentAppPath

  • getCurrentAppPath(): string
  • 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.

    Returns string

getVisibleViewController

  • getVisibleViewController(rootViewController: any): any
  • Gets the currently visible(topmost) UIViewController.

    Parameters

    • rootViewController: any

      The root UIViewController instance to start searching from (normally window.rootViewController). Returns the visible UIViewController.

    Returns any

isLandscape

  • isLandscape(): boolean
  • deprecated

    use application.orientation instead

    Gets an information about if current mode is Landscape.

    Returns boolean

joinPaths

  • joinPaths(...paths: string[]): string
  • Joins an array of file paths.

    Parameters

    • Rest ...paths: string[]

      An array of paths. Returns the joined path.

    Returns string

openFile

  • openFile(filePath: string): boolean
  • Opens file with associated application.

    Parameters

    • filePath: string

      The file path.

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method