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

iOS: on ScrollableView is not possible to change views

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.1
    • Fix Version/s: Release 5.2.0
    • Component/s: iOS
    • Labels:
    • Environment:

      iOS 9.1
      SDK 5.1.1.GA
      iPad 2 simulator

    • Sprint:
      2016 Sprint 1 SDK

      Description

      In a widget I have a ScrollableView where I need to change views. It stopped to work from version 5.1.0.
      When I set the "views" property with another collection of views the app remains blocked, without any error.
      I tryed other solution (like insertAt or replaceAt) but I cannot dynamically change views anymore.

      The widget is this one:
      https://github.com/apra-informatica/Ti.ImageGallery/blob/master/controllers/widget.js

      And the code:
      var index = 0;
      var newView = Ti.UI.createView();
      var views = $.scrollableView.views;
      views[index].removeAllChildren();
      views[index] = newView;
      $.scrollableView.views = views;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                apetkov Angel Petkov
                Reporter:
                pic Mauro Piccotti
                Reviewer:
                Chee Kiat Ng (Inactive)
              • Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code