swift - Applying two consecutive transformations on a UIView -


how can apply scale , rotation transformation view? when use code below, last transformation applied.

testv.transform = cgaffinetransformrotate(view.transform, keeprotation) testv.transform = cgaffinetransformscale(view.transform, keepscale, keepscale) 

got work this:

var transformation1 = cgaffinetransformrotate(view.transform, keeprotation) var transformation2 = cgaffinetransformscale(view.transform, keepscale, keepscale)  testv.transform = cgaffinetransformconcat(transformation1, transformation2) 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -