iOS native dialog box

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

iOS native dialog box

Post by simon.schvartzman »

Hi team, I wonder if there is any way (control / widget / function) to show a dialog box like the native iOS one in the attached image.

Many thanks in advance for any hint..
Attachments
iOS native dialog box
iOS native dialog box
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: iOS native dialog box

Post by Dixie »

Use mergPop...
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: iOS native dialog box

Post by simon.schvartzman »

Many thanks Dixie. Anything similar for Android?

Best!
Simon
________________________________________
To "AI", or not to "AI", that is the question
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: iOS native dialog box

Post by FourthWorld »

The mobilePick function is available for both iOS and Android.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: iOS native dialog box

Post by simon.schvartzman »

thanks Richard. mobilePick doesn't look so nice as mergPop but will do the job.
Simon
________________________________________
To "AI", or not to "AI", that is the question
Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: iOS native dialog box

Post by Dixie »

You could 'roll your own' dialog box to look like that... :-)
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: iOS native dialog box

Post by FourthWorld »

simon.schvartzman wrote:thanks Richard. mobilePick doesn't look so nice as mergPop but will do the job.
MobilePick should be using OS-native appearances. If it looks substantially different from what should be the same OS routines Monte's external is using IMO that would be a bug.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
simon.schvartzman
Posts: 672
Joined: Tue Jul 29, 2014 12:52 am

Re: iOS native dialog box

Post by simon.schvartzman »

Richard, mobilePick "Presents the user with a native list picker dialog." while mergPop "is an iOS external that adds functions to present an action sheet (popover on iPad) and contextual menu for user interaction."

In other words mobilePick (works fine) brings up the "selection wheel" which is different from what I was originally looking for according to the initial post.

Hope I made myself clear...

Best!
Simon
________________________________________
To "AI", or not to "AI", that is the question
FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10103
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: iOS native dialog box

Post by FourthWorld »

All good, Simon. When you'd mentioned LC's use of the OS APIs in mobilePick "doesn't look so nice" I took that to mean it wasn't on par with OS conventions. If it is indeed doing what's expected on iOS it doesn't seem there's a problem.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Post Reply