The invention discloses a screenshot splicing
projection method based on an iOS mobile terminal. The method comprises the steps that S100, an
OpenGL control in a current page is recognized, and the
OpenGL control currently displayed on a mobile terminal screen is judged in real time through lifecycle management of a UI controller class ViewControl of an iOS
system; S200, performing screenshot in anon-
OpenGL mode on the current whole page to obtain a full-screen image A; S300, whether an OpenGL control exists in the current page or not is judged, and if yes, the step S400 is executed; If not,directly entering the step S600; S400, performing OpenGL mode screenshot on the OpenGL control to obtain a picture B; S500, the spliced picture A and the spliced picture B are combined, a drawInRect interface of an iOS
system is called, and the full-screen picture A and the full-screen picture B are drawn and combined into a complete image; S600
image display. According to the method, different
screen capture methods are adopted for the picture content rendered by the OpenGL and the picture content rendered by the non-OpenGL, and the
screen capture efficiency can be effectively improved.