1 | import { iOSFrame as iOSFrameDefinition, BackstackEntry, NavigationTransition } from '.';
|
2 | import { FrameBase, NavigationType } from './frame-common';
|
3 | import { Page } from '../page';
|
4 | export * from './frame-common';
|
5 | export declare class Frame extends FrameBase {
|
6 | viewController: UINavigationControllerImpl;
|
7 | _animatedDelegate: UINavigationControllerDelegate;
|
8 | _ios: iOSFrame;
|
9 | iosNavigationBarClass: typeof NSObject;
|
10 | iosToolbarClass: typeof NSObject;
|
11 | constructor();
|
12 | createNativeView(): UIView;
|
13 | disposeNativeView(): void;
|
14 | get ios(): iOSFrame;
|
15 | setCurrent(entry: BackstackEntry, navigationType: NavigationType): void;
|
16 | _navigateCore(backstackEntry: any): void;
|
17 | private pushViewControllerAnimated;
|
18 | _goBackCore(backstackEntry: BackstackEntry): void;
|
19 | _updateActionBar(page?: Page, disableNavBarAnimation?: boolean): void;
|
20 | _getNavBarVisible(page: Page): boolean;
|
21 | static get defaultAnimatedNavigation(): boolean;
|
22 | static set defaultAnimatedNavigation(value: boolean);
|
23 | static get defaultTransition(): NavigationTransition;
|
24 | static set defaultTransition(value: NavigationTransition);
|
25 | onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
|
26 | layoutNativeView(left: number, top: number, right: number, bottom: number): void;
|
27 | _setNativeViewFrame(nativeView: UIView, frame: CGRect): void;
|
28 | _onNavigatingTo(backstackEntry: BackstackEntry, isBack: boolean): void;
|
29 | }
|
30 | declare class UINavigationControllerImpl extends UINavigationController {
|
31 | private _owner;
|
32 | static initWithOwner(owner: WeakRef<Frame>): UINavigationControllerImpl;
|
33 | get owner(): Frame;
|
34 | viewWillAppear(animated: boolean): void;
|
35 | viewDidDisappear(animated: boolean): void;
|
36 | private animateWithDuration;
|
37 | pushViewControllerAnimated(viewController: UIViewController, animated: boolean): void;
|
38 | setViewControllersAnimated(viewControllers: NSArray<any>, animated: boolean): void;
|
39 | popViewControllerAnimated(animated: boolean): UIViewController;
|
40 | popToViewControllerAnimated(viewController: UIViewController, animated: boolean): NSArray<UIViewController>;
|
41 | traitCollectionDidChange(previousTraitCollection: UITraitCollection): void;
|
42 | }
|
43 | export declare function _getNativeCurve(transition: NavigationTransition): UIViewAnimationCurve;
|
44 | declare class iOSFrame implements iOSFrameDefinition {
|
45 | private _controller;
|
46 | private _showNavigationBar;
|
47 | private _navBarVisibility;
|
48 | _disableNavBarAnimation: boolean;
|
49 | constructor(frame: Frame);
|
50 | get controller(): UINavigationControllerImpl;
|
51 | set controller(value: UINavigationControllerImpl);
|
52 | get showNavigationBar(): boolean;
|
53 | set showNavigationBar(value: boolean);
|
54 | get navBarVisibility(): 'auto' | 'never' | 'always';
|
55 | set navBarVisibility(value: 'auto' | 'never' | 'always');
|
56 | }
|
57 | export declare function setActivityCallbacks(activity: any): void;
|