UIView *singleMapView = [[UIView alloc]initWithFrame:CGRectMake(10, 150, 300, 250)];
singleMapView.backgroundColor = [UIColor blackColor];
[self.view addSubview:singleMapView];
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1.2, 1.2);
}completion:^(BOOL finish){
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
}];
}];
singleMapView.backgroundColor = [UIColor blackColor];
[self.view addSubview:singleMapView];
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1.2, 1.2);
}completion:^(BOOL finish){
[UIView animateWithDuration:3 animations:^{
singleMapView.transform = CGAffineTransformMakeScale(1, 1);
}];
}];