Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 76

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/webkit/dev_guide/setmimetypesshownashtml.html on line 76