Use some third-party tool Hook ObjcMsgSend to see what messages are there when taking a screenshot. However, I tried it on the simulator using the instrumentObjcMessageSends(YES) method, and it seemed that no messages were sent. But it doesn’t explain anything. The Save screen shot of the simulator is estimated to be different from the screen shot of the root device.
Use some third-party tool Hook ObjcMsgSend to see what messages are there when taking a screenshot. However, I tried it on the simulator using the instrumentObjcMessageSends(YES) method, and it seemed that no messages were sent. But it doesn’t explain anything. The Save screen shot of the simulator is estimated to be different from the screen shot of the root device.
Tell me if you have any questions. . Not visually