mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
27 lines
804 B
TypeScript
27 lines
804 B
TypeScript
/**
|
|
* @module "ui/utils"
|
|
*/
|
|
|
|
import { View } from "./core/view";
|
|
export module ios {
|
|
/**
|
|
* Gets actual height of a [UIView](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIView_Class/) widget in device pixels.
|
|
* @param uiView - An instance of UIView.
|
|
*/
|
|
export function getActualHeight(uiView: any /* UIView */): number;
|
|
|
|
/**
|
|
* @deprecated
|
|
*
|
|
* @param rootView
|
|
* @param parentBounds
|
|
*/
|
|
export function _layoutRootView(rootView: View, parentBounds: any /* CGRect */): void;
|
|
|
|
/**
|
|
* Gets the height of the status bar in device pixels.
|
|
* @param viewController when specified it is used to check preferStatusBarHidden property.
|
|
*/
|
|
export function getStatusBarHeight(viewController?: any): number;
|
|
}
|