setMIMETypesShownAsHTML()

Sets the MIME types that the Web Browser Engine will render as HTML

Synopsis:

#include <WebView.h>

virtual void setMIMETypesShownAsHTML(const char* mimeTypes,
                                     int cMimeTypes );

Description:

Sets the array of NSString MIME types that Web Browser Engine will attempt to render as HTML. You can retrieve the built-in array using MIMETypesShownAsHTML(), then add additional MIME types to that array.

Arguments:

mimeTypes
An array of NSString MIME types.
cMimeTypes
The index of MIME types in the array.

See also:

canShowMIMEType(), canShowMIMETypeAsHTML()