NewViewController が ViewController のアニメーションを取得する理由がわかりません。私の NewViewController.xib のすべてが奇妙な動作をしています。たとえば、私の UITableView は、アニメーションや他のオブジェクトで簡単に表示されます。NewViewController を確認しましたが、ViewController に接続されていません。これを止める方法について何か提案があれば、よろしくお願いします。
ViewController.m
- (void)viewDidLoad
{
[super viewDidLoad];
[self start];
}
-(void)start{
CGContextRef *imageContext = UIGraphicsGetCurrentContext();
[UIView beginAnimations:nil context:imageContext];
[UIView setAnimationCurve:UIViewAnimationCurveEaseIn];
[UIView setAnimationDelegate:self];
image.alpha = 1;
image1.alpha = 1;
[self performSelector:@selector(change) withObject:nil afterDelay:3];
}
-(void)change{
NewViewController *newViewController = [[NewViewController alloc]init];
[self.navigationController pushViewController:newViewController animated:NO];
}