Errors in sample code

There are some errors when attempting to run the sample code:

Cannot convert value of type 'String' to expected argument type 'PDFAnnotationSubtype'

I understand the error but I'm unsure what it's looking for.

I'm running Xcode 14, targeting iOS 12

Thx for any feedback!

Add a Comment

Replies

I think that's because your OS version isn't enough for the code.

since you're not providing the source code, that all I can do.

tip: try in Simulator at iOS 116