mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Profile iOS keypoints in the UINavigationViewController (#5108)
This commit is contained in:
@@ -512,6 +512,7 @@ class UINavigationControllerImpl extends UINavigationController {
|
||||
}
|
||||
}
|
||||
|
||||
@profile
|
||||
public viewDidLayoutSubviews(): void {
|
||||
let owner = this._owner.get();
|
||||
if (owner) {
|
||||
@@ -551,6 +552,7 @@ class UINavigationControllerImpl extends UINavigationController {
|
||||
});
|
||||
}
|
||||
|
||||
@profile
|
||||
public pushViewControllerAnimated(viewController: UIViewController, animated: boolean): void {
|
||||
let navigationTransition = <NavigationTransition>viewController[TRANSITION];
|
||||
if (traceEnabled()) {
|
||||
@@ -568,6 +570,7 @@ class UINavigationControllerImpl extends UINavigationController {
|
||||
});
|
||||
}
|
||||
|
||||
@profile
|
||||
public setViewControllersAnimated(viewControllers: NSArray<any>, animated: boolean): void {
|
||||
let viewController = viewControllers.lastObject;
|
||||
let navigationTransition = <NavigationTransition>viewController[TRANSITION];
|
||||
|
||||
Reference in New Issue
Block a user