2

I am working on PDF Kit using swift. I want to rotate PDFAnnotation. Is there any way to rotate PDFAnnotation? I am trying with the below code but I am not successful to get the desired result.

annotation.bounds.origin = annotation.bounds.origin.applying(CGAffineTransform(rotationAngle: -90 * CGFloat.pi / 180.0))

Please see the attached image to know about my requirement

Sac Allen
  • 61
  • 3

0 Answers0