cfdata

Extracting images from a PDF

Hello ! every one. I am having a little query regarding Extracting specifically images ( only images ) from a supplied PDF document in iPhone Application. I have gone through the documentation of apple - But I am failure to find it. I have done following efforts to have the Image from PDF Document. -(IBAction)btnTappedImages:(id)send...

How can I get the contents of an std::string into a CFData object?

I've got a function that returns a std::string object. I'm working with Cocoa/CoreGraphics and I need a way to get the data from that string into a CFData object so that I can feed that into a CGDataProviderCreateWithCFData object to make a CGImage. The CreateCFData function wants a const UInt8* object (UInt8 being a typedef for unsign...

UIWebView - When (or how) does CFData get released?

Hi, after multiple days of banging my head against the wall and having sleepless nights I'm hoping to find some help here. I've gone through various posts here, but none of the answers seem to provide a resolution for me. In short, my problem is that my App crashes after heavy usage (>10min) of the UIWebView (e.g. opening larger news p...