Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9963] iOS: ImageView not centered inside a ScrollView until you zoom in/out

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2017-07-11T17:27:24.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterDavide Cassenti
AssigneeEric Merriman
Created2012-07-16T08:40:06.000+0000
Updated2017-07-11T17:27:24.000+0000

Description

Problem description

When putting an ImageView inside a ScrollView, the image is not centered in the ScrollView. When the view is zoomed in/out, the image gets centered.

Steps to reproduce

- Create an app with the code here: http://pastebin.com/ijZGCzPH - Run the app: the image will be as large as the screen, on top - Zoom in and zoom out: the image gets centered

Expected behavior

The image is always centered

Comments

  1. Shameer Jan 2013-04-11

    http://pastebin.com/ijZGCzPH link not working
  2. Lee Morris 2017-07-11

    Closing ticket as fixed as I am unable to reproduce this issue with the following environment; iPhone 6 (10.0) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source