I've decided for now to use a work around; calling the method initWithData:
instead
PDFKit class calling deprecated method?
-
19-06-2023 - |
Domanda
I initialized a PDFDocument from a URL, and got the following message:<Error>: CFURLCreateDataAndPropertiesFromResource: failed with error code -15.
While I have yet to determine whether or not this "Error code 15" is my bad; I looked up CFURLCreateDataAndPropertiesFromResource
, and found it was deprecated in OS X 10.9. I'm a relatively new programmer, so I've steered pretty well clear of deprecated methods. Is it okay to use them? Is there a workaround for this?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow