ARTICLE AD BOX
I'm building a simple drawing app with a full screen pencil kit canvas. On the home screen, I want to display a tiled view of all the pages with previews of the canvas. I also want to be able to share out the canvas as an image.
The problem is, PKDrawing.image returns a cropped image, as defined by drawing.bounds which is relative to the original full screen canvas. For the life of me, I cannot take the image from a PKDrawing and translate it to a much smaller tile such that it looks exactly like the original canvas with all the surrounding whitespace, just smaller. There's not a lot of resources online, I was hoping someone here would know.
