[AC-6458] create alert dialog popup not showing multiple times
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2019-12-23T12:55:13.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios |
Reporter | shishir.roy |
Assignee | Motiur Rahman |
Created | 2019-12-12T15:28:02.000+0000 |
Updated | 2019-12-23T12:55:13.000+0000 |
Description
I am trying to create an alert dialog in iOS platform
var confirmDialogBox = Titanium.UI.createAlertDialog({
title : "Title",
message : "Message",
cancel : 1,
buttonNames : ["Yes", "No"]
});
confirmDialogBox.show();
I am using inside the for loop, but only once is showing and also find below error
*[ERROR] : UIAlertController is up and showing an alert. ABORTING showing of modal controller*
Can you please suggest how to show to multiple times pop up in iOS.
iOS SDK 13
Titianium SDK: 8.2.1.GA
Any Updates on this query
Any Update on this inquiry. Please suggest something so that we can proceed further
This is by design (Apple). Recommendation: monitor the click event on the first dialog, and then open the second one after the first one has closed. An array could be created with the dialogs, and then just splice the first one from the array and show it Hope this helps.