I want to read the scale of a view into a variable but I only know how to read a view's pixel size in. Like this:
Can anyone tell me how to do it the other way, so that I can set a float with the view's scale - .90 or 2.50 or such?
Code:
int viewWidth = myView.frame.size.width;
Can anyone tell me how to do it the other way, so that I can set a float with the view's scale - .90 or 2.50 or such?
Code:
float viewScale = myView. ??? scale??