Titanium JIRA Archive
Appcelerator Community (AC)

[AC-438] IOS: ListView images fail to load using xcode 7

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-10-23T22:07:00.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
LabelsimageView, listView
ReporterMartyn Joyce
AssigneeHans Knöchel
Created2015-09-30T11:10:48.000+0000
Updated2015-10-26T02:20:33.000+0000

Description

Images in ListViews no longer load as they scroll onto screen, they now wait for the scrolling to finish before loading. Furthermore if the user scrolls without removing their finger from the screen and stops the scroll with their finger, instead of letting any inertia complete the scroll, then the image never loads. This occurs in all Titanium SDKs (back to 3.5.1). It works correctly in XCode 6.1, but does not work in XCode 7.0 This may/may not be related information for AC-204 Sample alloy code attached

Attachments

FileDateSize
image.js2015-09-30T11:12:09.000+0000190
index.js2015-09-30T11:12:12.000+0000213
index.xml2015-09-30T11:12:05.000+0000589
ListView Correct.mp42015-10-06T10:51:15.000+00004562501
ListView Error.mp42015-10-06T10:51:16.000+00005562918

Comments

  1. Martyn Joyce 2015-09-30

    Added correct attachments
  2. Hans Knöchel 2015-09-30

    [~martz256] Have you made sure to check the iOS9 App Transport Security? (docs.appcelerator.com/platform/latest/#!/api/Titanium.Network)
  3. Martyn Joyce 2015-09-30

    Hi @hansknoechel The ATS was just left at Titanium default (i.e. a clean project) which is turned off i believe. I also tried enabling it which has exactly the same result. I assume that if ATS was an issue the image would never load? I can get all of my images to load, the non-loading is based on how the ListView is manipulated / touched, i can manipulate the ListView again to get them to load. e.g. 1. Touch the bottom of the screen and scroll blank images into view. Ensure that the list is not moving as you remove your finger. The images will not load. 2. Touch and move the list slightly, give the list a little inertia and ensure it is moving when you remove your finger. When the list stops moving the images will load. In XCode 6 the images loaded as soon as they appeared in the view, now they are waiting for the scroll to stop. If it would help for me to create a video of the issue I can do so.
  4. Martyn Joyce 2015-10-06

    Hans, I have been doing a few more test to find out exactly when this happens and it seems that it is more of a Titanium SDK issue than as XCode one. *Works Correctly:* Ti SDK: 3.5.1 XCode: 6.1 *Does Not work Correctly:* Ti SDK: 4.0.0.GA, 4.1.1.GA, 5.0.2.GA XCode 6.1 *Does Not work Correctly:* Ti SDK: 3.5.1.GA, 4.0.0.GA, 4.1.1.GA, 5.0.2.GA XCode 7.0.1 I will now upload 2 videos... one which shows it working correctly and one showing the error. Note in the issue video that the images only load after I 'flick' the list and let it settle itself. Maryn
  5. Hans Knöchel 2015-10-22

    [~martz256] This issue is related to TIMOB-19647 right? Just trying to find all issues we resolved with the fix.
  6. Martyn Joyce 2015-10-23

    yes thanks, this is now fixed

JSON Source