Page 1 of 1

Yes/No dialog on iOS?

Posted: Sun Feb 20, 2011 9:29 am
by dburdan
How can I do a simple Yes/No dialog on iOS? I just want to ask the user a question and get "Yes" or "No" back without having to create my own dialog.

Re: Yes/No dialog on iOS?

Posted: Sun Feb 20, 2011 12:20 pm
by BvG

Code: Select all

on mouseUp
   answer "a question" with "yes" or "no"
   if it is yes then
      beep
   end if
end mouseUp
read the dictionary entry about answer

Re: Yes/No dialog on iOS?

Posted: Sun Feb 20, 2011 10:44 pm
by dburdan
Thanks!I was looking at ask instead of answer.