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

iOS: iPad 5.0: Titanium.UI.EmailDialog attachment icon does not display

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: Release 1.8.0.1, Release 1.8.1
    • Component/s: iOS
    • Environment:

      Description

      Titanium.UI.EmailDialog attachment icon does not display in iPad 5.0. Screenshots Attached.
      Icons display correctly in all other iOS configurations.

      Steps to Reproduce:

      1. Run code.

      app.js

      var win = Ti.UI.createWindow({
      	backgroundColor:'#FFFFFF',
      	orientationModes:[Ti.UI.PORTRAIT,Titanium.UI.LANDSCAPE_LEFT,Titanium.UI.LANDSCAPE_RIGHT]
      });
       
      var button = Ti.UI.createButton({
      	title: 'ScreenShot!!'
      });
       
      button.addEventListener('click',function(){
      	Titanium.Media.takeScreenshot(function(event){
      		var screenShot = event.media;
      		var img = Titanium.UI.createImageView({ image: screenShot });
      		Ti.API.info('saving the image into photogallery');
      		Titanium.Media.saveToPhotoGallery(img.image);
      		Ti.API.info('saving the blob into photogallery');
      		Titanium.Media.saveToPhotoGallery(img.toImage());
      		Ti.API.info('launch the email client!!');
      		var emailDialog = Titanium.UI.createEmailDialog()
      		emailDialog.subject = "Colors of...";
      		emailDialog.messageBody = 'Lorem ipsum...';
      		emailDialog.addAttachment(img.toImage());
      		emailDialog.open();
      		win.add(img);
      	});
      });
       
      win.add(button);
      win.open();
      

      2. Press button to take screenshot.

      . . . App takes screenshot, saves it, and adds it to an email attachment.

      Expected Result:

      Email attachement icon should be visible.

      Actual Result:

      Email attachment icon does not show.

        Attachments

          Activity

            People

            • Assignee:
              vduggal Vishal Duggal (Inactive)
              Reporter:
              dhyde Dustin Hyde
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration