Hi, all! Currently I'm developing a game in which I've an imageView which I'm scaling little by little & rotating at the end. I want to obtain the size of image & its coordinates ar the end of scaling which I need for 3D rotating the imageView which I need to redraw the image & apply rotation to it. I'm using
if(ravanImage.center.y>=300&&ravanImage.center.y<=370)
{
ravanImage.transform = CGAffineTransformScale(ravanImage.transform, 0.98, 0.98);
}
if(ravanImage.center.y>=230&&ravanImage.center.y<=299)
{
ravanImage.transform = CGAffineTransformScale(ravanImage.transform, 0.98, 0.98);
}
if(ravanImage.center.y>=150&&ravanImage.center.y<=229)
{
ravanImage.transform = CGAffineTransformScale(ravanImage.transform, 0.98, 0.98);
}
for scaling image during three intervals of coordinates. Each time it enters if loop, it reduces in size. This animation basically is for an arrow which I want to show as moving away from us inside the screen. I want to obtain the last statistics of the image after last scale.
Can anybody please help me?