UIImageView move to CGRect
How to move a value of CGRect ImageView
-- Source --
CGRect new_frame = ImageView.frame;
new_frame.origin.x = 20;
new_frame.origin.y = 10;
[UIView beginAnimations:nil content:nil];
[UIView setAnimationDuration:0.1];
imageView.frmae = new_frame;
[UIView commitAnimations ];
-- Source --
CGRect new_frame = ImageView.frame;
new_frame.origin.x = 20;
new_frame.origin.y = 10;
[UIView beginAnimations:nil content:nil];
[UIView setAnimationDuration:0.1];
imageView.frmae = new_frame;
[UIView commitAnimations ];
댓글
댓글 쓰기