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?

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top