You may use the user-agent string coming from the device. The way to access
it through javascript is calling window.navigator.userAgent.

Thanks,
Manish

On Jan 11, 2008 6:09 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>
> Doesn't anyone have a solution for this? I mean, is no one here in the
> need to figure out the iPhone version he's running on?
>
> On Jan 9, 3:21pm, Thomas Tempelmann <[EMAIL PROTECTED]> wrote:
> > I like to use the onorientationchange event in my JS code designed for
> > iPhone & iPod Touch.
> >
> > Since that feature has been introduced in the v1.1.1 firmware version, I
> > need to still use the old (timer) way for previous firmware versions.
> >
> > How do I detect which iPhone firmware is running? I know I can check the
> > webkit version, but I can't find a list of all webkit versions related
> to
> > the firmware releases.
> >
> > Or, is there a way to test whether an event is supported?
> >
> > Thomas
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to