Hi Om,
you are right, the code has to be a little bit more complex:
<s:VGroup>
<s:CalloutButton label="locale default">
<s:DateSpinner displayMode="dateAndTime" width="100%" height="
100%"/>
</s:CalloutButton>
<s:CalloutButton label="locale en_US">
<s:DateSpinner displayMode="dateAndTime" width="100%" height="
100%" locale="en_US"/>
</s:CalloutButton>
</s:VGroup>
In this example, the second DateSpinner is fine, the first is not.
If I try to debug it on the device, everything is ok.
But it fails if I build a release for adhoc distribution, with AIR Version
15 or 16beta, and the devices locale is not US.
No issue on Android, not with AIR 14, and not with a US locale.
Thanks for your help
Guenter
2014-11-19 21:32 GMT+01:00 OmPrakash Muppirala <[email protected]>:
> Can you provide a simple code sample to reproduce this issue? I am tried
> setting my language to 'Deutsch' and region to 'Berlin, Germany' and am
> able to see the DateSpinner fine on my iPad.
>
> This is the code I am testing with:
>
> <s:DateSpinner displayMode="dateAndTime" />
>
> Thanks,
> Om
>
>
> On Wed, Nov 19, 2014 at 10:45 AM, Guckelsberger, Günter <
> [email protected]> wrote:
>
> > If I use DateSpinner in DATE_AND_TIME mode on a iOS device and the
> devices
> > region is not set to US, than the DateSpinner does not open. If I change
> > the locale to US on the device or in code, everything is fine.
> >
> > I am using Flex SDK 4.13 and and Adobe Air 15.
> >
> > There is no problem with AIR 14, but this can't be used for other
> reasons.
> >
> > Any advice?
> >
> > Guenter
> >
>