I want to take a screenshot of the whole view that the user is seeing. I want to achieve the same result as pressing the lock and home button programmatically.
I know there are a lot of questions like mine, but they all require me to input a specific view. What about all the views?