UniCode with iOS mobilePick

Ender Nafi Elekçioğlu endernafi at gmail.com
Thu Apr 4 10:36:13 EDT 2013


Unfortunately, it does not.  
Fortunately, there is a workaround.

The Option Menu Button trigger the native mobilePick control.
So, here is the recipe {pseudo-code}:

---

on createMobilepickTrigger
_create a button
_set its type to option menu
_set its rect to 0,0,1,1
_set its text to tUniencodedText

on mouseUp
_if the clicked object is your actual button which should open the mobilePick control then
__click at the loc of button mobilePickTrigger

on menuPick pItem
_if the clicked object is the mobilePickTrigger then
__do your thing

---


I've used this method in several apps of mine.
Hope it helps…

Best,

~ Ender Nafi

~… together, we're smarter …~


More information about the use-livecode mailing list