Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23437] iOS (Parity): Add rotation, rotationX, rotationY, scaleX, scaleY to view

GitHub Issuen/a
TypeImprovement
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelscommunity, ios, parity, rotate, scale, transform
ReporterMichael Gangolf
AssigneeUnknown
Created2016-05-25T09:22:44.000+0000
Updated2018-02-28T19:55:07.000+0000

Description

Comments

  1. Sharif AbuDarda 2016-05-25

    Thanks for creating the ticket. Please create a PR. Our engineers will look into it.
  2. Hans Knöchel 2016-05-28

    Can't we get the most of that using the [transform](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-transform) property?
  3. Michael Gangolf 2016-05-28

    on iOS you can use a 3dmatrix, which supports all of this. But on Android you only have a 2Dmatrix and its very slow when you apply it, not sure about the iOS speed. It is a straight forward way to set the properties (just use view.rotationY = value; ) and you don't have to create a matrix first. Perhaps you can map view.rotationX to a 3Dmatrx?
  4. Hans Knöchel 2016-10-19

    Yes, that would be the cleanest way. Basically we would have a 3DMatrix reference in our TiViewProxy that would be changed and applied with this properties. But as people on iOS can already use the matrix directly, the prio will remain "Medium" for now.

JSON Source