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

iOS: App crashes on changing orientation while opening photogallery from modal window

    Details

      Description

      This is not a regression. It exists as far as 2.0.1.
      This seems to be an ipad issue. It works fine on iPHONE 3G S(iOS 5.0.1) and iPhone 4S(iOS 5.1)

      Steps to reproduce
      1. Use the app below in app.js

      var win = Ti.UI.createWindow();
      win.modal = true;		
      var button = Titanium.UI.createButton({
      	    title: "Push me"
      });
      		
      	button.addEventListener('click', function() {
      	    Titanium.Media.openPhotoGallery({
      		});
      	});
      		
      win.add(button);
      win.open();
      

      2. Run the app and press button 'Push me'
      3. Rotate the device to different orientation now.

      Expected result
      2. After step 2, the photo gallery should get displayed.
      3. App should rotate to different orientations without crash.

      Actual result:
      2. After step 2, the photo gallery is not displayed.
      3. App crashes on rotating to different orientation.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vduggal Vishal Duggal (Inactive)
                Reporter:
                sbhadauria Shyam Bhadauria
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-14519
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Integration