Question

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?

Était-ce utile?

La solution

I've decided for now to use a work around; calling the method initWithData: instead

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top