views:

51

answers:

2

hello all,

I have a page I am developing in .net using HTML5 intended for a WebView in an iphone App. The page looks just fine in Safari. When I load it in the iphone Simulator it is rendering as plain text, no styles or js loading. I thought it might be an issue with .net, but seeing as it works in Safari i am stumped. When I use the XHTML doctype it works just fine in the Simulator. Any ideas why this is occurring and what the fix may be? Thanks!

A: 

Do you have problems rendering on the device? If not, don't worry about the Simulator, because it's not guaranteed to represent perfectly how the hardware works.

Shaggy Frog
A: 

well it seems that the lovely .net mobile.browser file was setting the mime type for the simulator as xml. set it to xhtml and all is rosy.

Bess