UITrackingElementWindowController related crash on iPadOS26.1

I have following code and made it invoke every time when a UIViewController presents another UIViewController through method swizzling. When I try to access the Password management app while input password, these code will be invoked and the presenting VC is instance of UITrackingElementWindowController. It will crash

[presentingVC beginAppearanceTransition:NO animated:NO];
[presentingVC endAppearanceTransition];

Related crash stack

UITrackingElementWindowController related crash on iPadOS26.1
 
 
Q