i'm trying to change the position of my image view after time delay like in the following code
CGPoint pointOne=CGPointMake(150, 200);
UIImageView *sampleImage=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"hello.png"]];
[sampleImage performSelector:@selector(setCenter:) withObject:[NSValue valueWithCGPoint:pointOne] afterDelay:0.5];
it does not works properly because image view does not accept the nsvalue plz say any other solution to pass the cgpoint or cgrect as the object. Thanks in advance.