[Inspector] Stale Dom in iOS

[Inspector] When iOS app presenting a viewController, there is always contain previous screen Dom. How to make the Dom only contain rendered screen components?