This is the screenshot of the code. The view content includes UIView and WKWebView. The part of UIView is normal, but the part of WKWebView shows a blank screen. This was not a problem before iOS 26, but it occurred after upgrading to iOS 26. Who can help me? enter image description here
I attempted to change the screenshot view to "keywindow", but it didn't work.
Using the -(BOOL)drawViewHierarchyInRect:(CGRect)rect afterScreenUpdates:(BOOL)afterUpdates
API allows for the extraction of multiple levels of content within the view. This solved my problem.