title: Appcelerator - iOS : Animate view's opacity with animate method don't change the opacity property
body: <p>Change the view's opacity with animate({}) method don't change the opacity property of the view.</p>
  
  <p>It's normal? </p>
  
  <p>Related ticket on <a href="https://jira.appcelerator.org/browse/AC-4849" rel="nofollow noreferrer">jira</a></p>
  
  <p>Test code</p>
  
  <pre><code>var win = Ti.UI.createWindow({
      backgroundColor: "white"
  });
  var view = Ti.UI.createView({
      width : 100,height : 100,backgroundColor : "red",opacity : 1.0
  });
  var label = Ti.UI.createLabel({
      width : Ti.UI.FILL,top : 30,color : "red",textAlign : "center",font : {fontSize : 20}
  });
  var buttons = Ti.UI.iOS.createTabbedBar({
      bottom : 30,labels : ["Without animate","With animate"],index : 0,tintColor : "red"
  });
  
  var temp = true;
  setInterval(function(e){
      if(temp){
          if(buttons.index == 0)
              view.opacity = 0.0;
          else
              view.animate({ opacity : 0.0 , duration : 0});
      }else{
          if(buttons.index == 0)
              view.opacity = 1.0;
          else
              view.animate({ opacity : 1.0 , duration : 0});
      }
      temp = !temp;
      label.text = "view opacity: " + view.opacity;
  },200);
  win.add(label,view,buttons);
  win.open();
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/TfXlW.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TfXlW.gif" alt="enter image description here"></a></p>