I am setting bounds of pdfpage to crop the page. it crop the page but not the annotations applied to it.
page.setBounds(rect, for: .cropBox)
by this code annotation applied to page will show over the cropped page as in image
I am setting bounds of pdfpage to crop the page. it crop the page but not the annotations applied to it.
page.setBounds(rect, for: .cropBox)
by this code annotation applied to page will show over the cropped page as in image
This is standard behavior, annotations are not cropped by CropBox, only the page content is.