既存のビュー内で新しいビューを呼び出そうとしています
TransactionFinish *childView= [[TransactionFinish alloc] initWithNibName:@"TransactionFinish" bundle:nil];
childView.view.frame = self.view.frame;
childView.view.frame=CGRectMake(10, 10, self.view.frame.size.width-20, self.view.frame.size.height-20);
childView.view.alpha = 0.0f;
[self.view addSubview:childView.view];
[UIView animateWithDuration:0.5 delay:0.0 options:UIViewAnimationCurveEaseOut
animations:^{
childView.view.alpha = 1.0f;
}
completion:^(BOOL finished) {
}];
内部ViewDidLoad()
に入っTransactionFinish
ています(デバッグを試みました)がEXEC_BAD_ACCESS(code=1,address=0x31f54e62)
、緑色のスレッドが表示されます