I am making the iPad app in which I want to show animation when I start click on beginEditing here is the my code.

```
-(void)textFieldDidBeginEditing:(UITextField *)textField
{
    NSLog(@"This is calling");
    [self showAnimationPests];
}

-(void) showAnimationPests
{
    [UIView animateWithDuration:0.5
                     animations:^{
                         subView.frame = CGRectMake(0,-200,1024,748);

                     }];
}

```

It shows Log this is calling but view does not move.