Native components (e.g. Browser Component) are flaky in the Xcode
simulator.  If you make heavy use of them, you should debug on device and
skip the Xcode simulator.
(NOTE: for people finding this out of context, I'm just referring to the
iOS Xcode simulator that ships with Apple's development tools - not to be
confused with the Codename One simulator, on which native components such
as BrowserComponent work find).

On Thu, May 6, 2021 at 1:54 AM 'P5music' via CodenameOne Discussions <
codenameone-discussions@googlegroups.com> wrote:

> (please also read the previous message)
> I have to say that this is what I found at the end of the XCode
> compilation (the app started and then closed but I did not see that, I was
> not watching), but after some time I tried to run the app and it started
> without error.
> It just does not work as expected, but I do not think it is related to the
> mentioned issue, because metrics are correct.
> [The app just does not let the user to click buttons.
> In the iOS simulator when I click a button in my special CommandDialog
> instances, I see that the underlying BrowserComponents in the layout blink
> black for a moment, but the button click has no effect.
> It seems that the dialog is not closing, so I have to check that.]
> Regards
>
> Il giorno giovedì 6 maggio 2021 alle 08:49:54 UTC+2 P5music ha scritto:
>
>>
>> I am trying to execute my app on iOS simulator by means of the maven
>> build system, I have a runtime issue now, for the
>> getDisplayWidth
>> function.
>> This happens at the beginning of the app, where some metrics are
>> calculated for the main form.
>> Is this error due to my code or to the build or what else?
>> I provide some file attachments, where you can find all necessary
>> information from XCode.
>> Thanks in advance
>>
> --
> You received this message because you are subscribed to the Google Groups
> "CodenameOne Discussions" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to codenameone-discussions+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/codenameone-discussions/9becf1ea-6c5f-4c51-b64f-16b616f9786cn%40googlegroups.com
> <https://groups.google.com/d/msgid/codenameone-discussions/9becf1ea-6c5f-4c51-b64f-16b616f9786cn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/CAGOYrKV4V7f7XaW6mnwuxLCSU_iDgEjJ3m9e3Z9uLTtaCz_otg%40mail.gmail.com.

Reply via email to