0
var dialog = Ti.UI.createAlertDialog({
  title: 'Enter text',
  style: Ti.UI.iOS.AlertDialogStyle.PLAIN_TEXT_INPUT,
  buttonNames: ['OK']
});

How I can add image/icon inside dialog in titanium alloy? Is there any property that I can add?

Max Leske
  • 5,007
  • 6
  • 42
  • 54
Raj Shah
  • 29
  • 4

1 Answers1

0

unfortunately, you can't add an image to a alertDialog with Titanium. Maybe it's possible with native : UIAlertView addSubview in iOS7, but you should create a module to use it with Titanium.

Last solution is to create a custom view so you can customize everything you want.

Community
  • 1
  • 1
Thomas Lemaitre
  • 1,154
  • 6
  • 8