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

iOS: Scale of remote image seems to be way of compared to Android

    Details

    • Type: Bug
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: Release 8.1.0, Release 8.3.0
    • Fix Version/s: None
    • Component/s: Android, iOS
    • Labels:
    • Environment:

      MacOS Catalina 10.15.1 Beta
      Xcode 11
      Node.js 10.16.3
      iPhone 6 Sim(12.4)
      Google Pixel 7.1.1

      {"NPM":"4.2.15-1","CLI":"7.1.1"}

      SDK 8.3.0.v20191030085531
      SDK 8.1.0.GA

      Description

      When using the test case below on iOS (iPhone 6 12.4 sim) and Android (Google Pixel 7.1.1 emulator) It seems to have different results as the image on iOS by default starts of zoomed in.

      Test Case:

      var detailWindow = Titanium.UI.createWindow({
      	backgroundColor : '#fff'
      });
       
      var detailScrollView = Ti.UI.createScrollView({
      	layout : 'vertical'
      });
       
      var imageView = Ti.UI.createImageView({
      	image : "https://s3.amazonaws.com/static.tumblr.com/6t3upxl/Aawm08w0l/khout-kitten-458882.jpeg",
      	top : '10dp'
       
      });
       
      detailScrollView.add(imageView);
       
      detailWindow.add(detailScrollView);
       
      detailWindow.open();
      

      Test Steps:

      1. Create a Titanium application
      2. Add the code above in to the ((app.js}}
      3. Run on Android
      4. Run on iOS
      5. Compare results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              smohammed Samir Mohammed
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code