Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1477] iOS 8 : AlertDialog , problem with message when title is not set

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionHold
Resolution Date2014-11-10T06:08:03.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsios
Reporternicolomonili
AssigneeShuo Liang
Created2014-11-09T20:09:58.000+0000
Updated2016-03-08T07:37:55.000+0000

Description

There is a problem with message property when property title is not set

var win = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});


var test_AlertDialog = Ti.UI.createAlertDialog({
	buttonNames : ['Btn1', 'Btn2'],
	message : "Message Test",
	//title : "Title Test"
});

test_AlertDialog.show();


win.open();

Attachments

FileDateSize
iOS Simulator Screen Shot 09.nov.2014 20.58.56.png2014-11-09T20:10:48.000+000026617
iOS Simulator Screen Shot 09.nov.2014 20.59.31.png2014-11-09T20:10:49.000+000025281

Comments

  1. Shannon Hicks 2014-11-09

    I've also seen this. Workaround:
    title:''
  2. Shannon Hicks 2014-11-09

    Also, if you do
    Ti.Platform.openURL('tel:+1-123-123-1234');
    the same behavior can be seen in the dialog that happens then.
  3. Shuo Liang 2014-11-10

    Hi, This seems a problem from IOS side, so please go with setting
    title : ""
    as workaround. Regards, Shuo

JSON Source