У меня проблемы с рисованием квадратной аннотации в задаче C. Есть идеи, где я ошибаюсь?
Спасибо
PDFAnnotation *annotation = [[PDFAnnotation alloc]initWithBounds:CGRectMake(x, y, 25, 25) forType:PDFAnnotationSubtypeSquare withProperties:nil];
annotation.backgroundColor = [UIColor redColor];
annotation.border.lineWidth = 10;
annotation.color = [UIColor redColor];
PDFPage *page = [pdfView currentPage];
[page addAnnotation:annotation];