I know there is the little camera at the bottom of the screen while developing your game, but what I am looking for is a way to take a picture of your screen (actually only a piece of the screen) in code while your game is running and then save it to the camera role. Ideally there would be a button that says “Save image” and then the iOS dialogue box confirming you want to save to the camera role comes up.
Part1/ take the picture. You control everything you put on screen. So you can draw it into an image with setcontext(img) when you want.
Part2/ save the picture. Well… For that codea doent have built in function. You have to write it in opjective C if you make an app.