flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Tynjala <joshtynj...@gmail.com>
Subject Re: iOS mobile keyboard TLF support
Date Thu, 02 Jun 2016 14:44:50 GMT
I've never tried this, but I wonder if you could create an ANE to manually
open and close the soft keyboard on iOS. If something on stage has focus,
it may still dispatch KeyboardEvents, even if AIR isn't the one that showed
the soft keyboard.

- Josh

On Thu, Jun 2, 2016 at 5:56 AM, Fr├ęderic Cox <coxfrederic@gmail.com> wrote:

> Hi,
> I am currently working on a project where I have a TLFEditor to put a
> textarea's text in bold/italic/underline, change font size/color etc..
> It works fine on desktop but not on mobile.
> Option 1 is to use skinClass = spark.skins.spark.TextAreaSkin but then the
> keyboard on iOS does not show.
> Option 2 is to use the default mobile skin but then TLF is not supported.
> It is a product description component in which the user only needs to add a
> small amount of text so the performance overhead for TLF is not an issue
> here. Just need to find a way to open the keyboard so the keyboard input is
> accepted. Does anyone have a solution or workaround?
> I've spent almost 6 hours on this issue alone today .. I know
> requestSoftKeyboard() is not available on iOS and I've also tried setting
> stage.focus = textDisplay but nothing works on the device.
> Any help/workarounds are greatly appreciated!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message