I\'m trying to server HTML Javascript and CSS content from an iPhone application\'s local resources, and I\'m having trouble handling onOrientationChange events and includin
It is better to use
since safari is actually calling orientationChange AFTER the view has rotated.
This was important to me because I needed to resize my HTML5 canvases AFTER the page had rotated and I knew how big it's container was.