mobilePickDate doesn't work on some iphones
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 20
- Joined: Mon Mar 19, 2018 11:25 pm
mobilePickDate doesn't work on some iphones
Hi,
I have developed an app where I use the mobilePickDate function. It works well for all users( both android and iOS) except for one. She uses Iphone 6s and cannot see the calendar at all. She just see the grey field at the bottom of the screen with the [Done] text. Has anyone had the same experience? I have tried the app on my own Iphone 6s with another IOS version but without any problem. It's annoying...
I'm using LC 9.6.0(dp3) & Xcode 11.3
Any ideas?
I have developed an app where I use the mobilePickDate function. It works well for all users( both android and iOS) except for one. She uses Iphone 6s and cannot see the calendar at all. She just see the grey field at the bottom of the screen with the [Done] text. Has anyone had the same experience? I have tried the app on my own Iphone 6s with another IOS version but without any problem. It's annoying...
I'm using LC 9.6.0(dp3) & Xcode 11.3
Any ideas?
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: mobilePickDate doesn't work on some iphones
Hello per_bodelius,
Could it be the case she has dark mode enabled? If yes, then you have to rebuild your app with LC 9.6 DP-4, and make sure you check the "app supports dark mode" checkbox in the iOS standalone settings.
Kind regards,
Panos
--
Could it be the case she has dark mode enabled? If yes, then you have to rebuild your app with LC 9.6 DP-4, and make sure you check the "app supports dark mode" checkbox in the iOS standalone settings.
Kind regards,
Panos
--
-
- Posts: 20
- Joined: Mon Mar 19, 2018 11:25 pm
Re: mobilePickDate doesn't work on some iphones
Aaah _Panos!
You're an angel!
That really solved the problem.
Thank you very much for the advice!
Best regards
Per Bodelius
You're an angel!
That really solved the problem.
Thank you very much for the advice!
Best regards
Per Bodelius
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mobilePickDate doesn't work on some iphones
@Panos: Does enabling the dark mode checkbox also allow LC fields to stay white or do we have to do something else? I need LC fields to retain their original color regardless of the user setting.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: mobilePickDate doesn't work on some iphones
darkmode or not, LC does no change anything!
We can now only check if the user has enabled this OS setting or not and need to take our own actions if neccessary.
At least this is how I understood this new feature.
We can now only check if the user has enabled this OS setting or not and need to take our own actions if neccessary.
At least this is how I understood this new feature.
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: mobilePickDate doesn't work on some iphones
Hello all,
Indeed, the dark or light mode only changes the appearance of the native objects or dialogs (e.g. the mobilepickdate popup).
But as Klaus said, you can detect if the device is on dark mode and change the appearance of your LC objects by script accordingly.
Kind regards,
Panos
Indeed, the dark or light mode only changes the appearance of the native objects or dialogs (e.g. the mobilepickdate popup).
But as Klaus said, you can detect if the device is on dark mode and change the appearance of your LC objects by script accordingly.
Kind regards,
Panos
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mobilePickDate doesn't work on some iphones
I understood it that way too but I wasn't specific enough. We are using mobileControlCreate to make native input fields so my question was really whether I have to do anything or not. I suspect I don't because a user with dark mode turned on suddenly couldn't see the text when we weren't using that switch (it didn't exist when we built that version of the app.) The field background turned dark but the text stayed black.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- Livecode Staff Member
- Posts: 821
- Joined: Fri Feb 06, 2015 4:03 pm
Re: mobilePickDate doesn't work on some iphones
Hello jacque,
I forgot to say that if you want to opt out from dark mode, you can just not check the "app supports dark mode" checkbox in the iOS settings. In this case, your app's appearance (native fields etc) will stay the same, regardless of the device's appearance.
Kind regards,
Panos
I forgot to say that if you want to opt out from dark mode, you can just not check the "app supports dark mode" checkbox in the iOS settings. In this case, your app's appearance (native fields etc) will stay the same, regardless of the device's appearance.
Kind regards,
Panos
-
- VIP Livecode Opensource Backer
- Posts: 7258
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: mobilePickDate doesn't work on some iphones
Perfect, that's exactly what I needed to know. Thanks Panos.LiveCode_Panos wrote: ↑Sun May 03, 2020 9:01 pmHello jacque,
I forgot to say that if you want to opt out from dark mode, you can just not check the "app supports dark mode" checkbox in the iOS settings. In this case, your app's appearance (native fields etc) will stay the same, regardless of the device's appearance.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com