In nextView.m:
You have implemeted this method:
- (void)Before{
TestMoveViewController * iPhoneView = [[TestMoveViewController alloc]initWithNibName:nil bundle:nil];
[self presentViewController:iPhoneView animated:YES completion:NULL];
}
replace the method with this method:
- (void)Before{
[self dismissModalViewControllerAnimated:YES];
}
You are creating internal threads. While you are presenting a new view, you can dismiss that view when you want to go back,.
0 comments:
Post a Comment