ユーザーがデータを入力すると、ビューがスライドアップする必要があるアプリがあります。このコードを書いていますが、このコードは別のアプリでは正常に動作しますが、このアプリでは動作しません。同じ方法に従っています。
-(void)showAnimationBack{
NSLog(@"Back Animation is Working");
[UIView animateWithDuration:0.5
animations:^{
self.subViewLand.frame = CGRectMake(0,-10,1024,768);
}];
}
-(void) showAnimationPests{
NSLog(@" Animation is Working");
[UIView animateWithDuration:0.5
animations:^{
self.subViewLand.frame = CGRectMake(0,-200,1024,768);
}];
}