Article Directory
introduction
The screenshots obtained by the solution in this article do not include _UIAlertControllerShimPresenterWindow and AlertView
Method 1:
Call the renderInContext:
method of a view's layer
Sometimes the navigation bar cannot be accessed normally
- (void)renderInContext:(CGContextRef)ctx;