Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-6994

iOS: UI - AlertDialog needs to be displayed after locking & unlocking the phone

    Details

      Description

      Problem

      Back from a standby phone, Titanium.UI.AlertDialog is no longer displayed on the screen.

      Test Case

      In the iOS device

      • Run the code below
      • The "Alert Dialog" opens
      • Lock the phone
      • Unlock the phone
      • The "Alert Dialog" is no longer present

      app.js

      // this sets the background color of the master UIView (when there are no windows/tab groups on it)
      Titanium.UI.setBackgroundColor('#000');
       
      var tabGroup = Titanium.UI.createTabGroup();
       
      var win1 = Titanium.UI.createWindow({  
          title:'Tab 1',
          backgroundColor:'#fff'
      });
      var tab1 = Titanium.UI.createTab({  
          icon:'KS_nav_views.png',
          title:'Tab 1',
          window:win1
      });
       
      var alertDialog = Titanium.UI.createAlertDialog({
      	title : "Title",
      	message : "Message",
      	buttonNames : ["Yes", "No"]
      });
      alertDialog.show();
      	
      tabGroup.addTab(tab1);  
       
      tabGroup.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srahim Sabil Rahim
                Reporter:
                toutspeed Anthony
              • Watchers:
                10 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration