I would imagine this is just the behavior of the device, so this might not be a bug, but it’s really annoying… and if there was a way to artificially induce the event, that’d be great.
On startup, you only get an orientation event if it’s different from your default.
Probably WAI (working as intended), but since we can’t currently obtain the current orientation it sure would be nice if there was simply an orientation event generated at startup even if it’s the same orientation as current.
There are a multitude of reasons why, but mainly it’s because right now the only way around this issue is to hack in a timer that checks to see what my “stored” rotation is after 500ms. This could well be inaccurate if someone was rotating on startup, but it’s the best I can do for correctly initializing my interface orientation for certain parts of my app.
Making the orientation event consistently fire at startup would alleviate the need for any special hacks to obtain this information.
Scott [import]uid: 5659 topic_id: 1007 reply_id: 301007[/import]
