Capture iPhone screen with status bar included?

后端 未结 4 1459
星月不相逢
星月不相逢 2020-12-10 07:36

I am looking for a way to capture a screenshot on the iPhone with the top status bar included, I am currently using the following code:

    UIGraphicsBeginIm         


        
4条回答
  •  既然无缘
    2020-12-10 07:51

    You can get the entire contents of the screen by calling the private API UIGetScreenImage. See my previous answer to a similar question for details.

提交回复
热议问题