Pages

Friday, March 8, 2013

Re: Change View iOS

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,.



View the original article here

0 comments:

Post a Comment