Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace IOSHelper

Various iOS view helper methods

Index

Variables

Const traitCollectionColorAppearanceChangedEvent

traitCollectionColorAppearanceChangedEvent: string

String value used when hooking to traitCollectionColorAppearanceChangedEvent event.

Functions

expandBeyondSafeArea

  • expandBeyondSafeArea(view: Partial<View>, frame: any): any

getFrameFromPosition

  • getFrameFromPosition(position: object, insets?: object): any
  • Parameters

    • position: object
      • bottom: any
      • left: any
      • right: any
      • top: any
    • Optional insets: object
      • bottom: any
      • left: any
      • right: any
      • top: any

    Returns any

getParentWithViewController

  • getParentWithViewController(view: Partial<View>): View
  • Returns a view with viewController or undefined if no such found along the view's parent chain.

    Parameters

    • view: Partial<View>

      The view form which to start the search.

    Returns View

getPositionFromFrame

  • getPositionFromFrame(frame: any): object

layoutView

  • layoutView(controller: any, owner: Partial<View>): void

shrinkToSafeArea

  • shrinkToSafeArea(view: Partial<View>, frame: any): any

updateAutoAdjustScrollInsets

  • updateAutoAdjustScrollInsets(controller: any, owner: Partial<View>): void

updateConstraints

  • updateConstraints(controller: any, owner: Partial<View>): void

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