Details

    • Story Points:
      2
    • Sprint:
      2015 Sprint 24 SDK, 2016 Sprint 07 SDK, 2016 Sprint 13 SDK

      Description

      Adding tintColor property to iOS using UIImageRenderingModeAlwaysTemplate

      Demo

       
      /**
       *  TIMOB-23565
       *
       *  Sets the initial tintColor to red, changes it to green after 2 seconds
       *  and removes the tintColor after another 2 seconds.
       **/
       
      var win = Ti.UI.createWindow();
      var img = Ti.UI.createImageView({
          tintColor: "red",
          image: "images/appcelerator_small.png"
      });
       
      win.add(img);
       
      setTimeout(function() {
          img.setTintColor("green");
          
          setTimeout(function() {
              img.setTintColor(null);
          },2000);
          
      },2000);
       
      win.open();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hknoechel Hans Knöchel
                Reporter:
                hknoechel Hans Knöchel
                Reviewer:
                Chee Kiat Ng (Inactive)
                Tester:
                Harry Bryant
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  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