views:

800

answers:

2

What are all the file formats supported by UIWebView? In my testing, I found that it supports XLS, DOC, PPT, PDF but not XLSX, and DOCX, RTF.

It supports image files like, JPG, PNG, GIF, BMP, not sure about TIFF or

Exactly, what all types are supported is not clear...

The UIWebView documentation also doesn't state it clearly.

Could someone please help?

+3  A: 

A Technical note is available on Apple Website about file formats supported by UIWebView :

http://developer.apple.com/iphone/library/qa/qa2008/qa1630.html

Moté Yvan
+1  A: 

I am seeking a definitive answer on this, too.

While the Tech Note tells us which high-level formats are supported, it doesn't tell us which simple formats, e.g. image types, are supported. I need that information, though, in order to let a web server know which formats it can send me (i.e. via http's "Accept" header).

Update

Uh, actually, here's the docs from Apple on supported image formats by UIWebView: http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/GraphicsandDrawing/GraphicsandDrawing.html#//apple_ref/doc/uid/TP40007072-CH10-SW8

Thomas Tempelmann