" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Option dialog box

Posted on November 23rd, 2015 by Raju Mahato

Some time we need to have option dialog to show the options to user allowing to chose one. Using titanium, code for option box is described below. Suppose we have a button, and on click of that button we need to show the option dialog. //Define the option box var optionBox = Titanium.UI.createOptionDialog({ title : […]