Is there any way to trigger WKWebView garbage collection through native code or js code manually?
I'm using WKWebView build 3D application. The WKWebView is easy to be terminated by system due to memory pressure. When js side alloc/ dealloc memory often and the garbage collection not executed in time, the wkWebView will be teriminated frequently. When I tigger gc through safari devtools, the memory usage will be decrease. So is there any way to tigger gc through native code?