Version: 1.0

Posted: 2006-03-13

Build Requirements: Xcode 2.1

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“SpecialPictureProtocol.zip”, 76.8K)
Download Sample (“SpecialPictureProtocol.dmg”, 130.9K)



Description

This sample includes a custom NSURLProtocol that creates jpeg images on the fly in memory so they can be displayed in a webView. Also this sample illustrates the recomended technique for sharing information between your webView's WebResourceLoadDelegate object and your custom NSURLProtocol object.

Document Revision History

Date Notes
2006-03-13Use a custom NSURLProtocol to create jpeg images in memory for display in a webView.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.