You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@flex.apache.org by Guckelsberger,
Günter <gu...@mapletec.de> on 2014/11/19 19:45:38 UTC
DateSpinner on iOS devices
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
Re: DateSpinner on iOS devices
Posted by OmPrakash Muppirala <bi...@gmail.com>.
I just realized that there is a JIRA ticket for this.
https://issues.apache.org/jira/browse/FLEX-34581
I will try to see if I can reproduce this on my iPad.
Thanks,
Om
On Wed, Nov 19, 2014 at 11:09 PM, Guckelsberger, Günter <
guckelsberger@mapletec.de> wrote:
> 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 <bi...@gmail.com>:
>
> > 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 <
> > guckelsberger@mapletec.de> 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
> > >
> >
>
Re: DateSpinner on iOS devices
Posted by Guckelsberger,
Günter <gu...@mapletec.de>.
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 <bi...@gmail.com>:
> 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 <
> guckelsberger@mapletec.de> 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
> >
>
Re: DateSpinner on iOS devices
Posted by OmPrakash Muppirala <bi...@gmail.com>.
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 <
guckelsberger@mapletec.de> 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
>