Thursday, December 5, 2013

View multiple calls?

There are three View, located 3 Xib, assume that A \ B \ C interface, call the B button A, B calls C, C how to return directly to the A? I used presentModelViewController and dismissModelViewContrlloer. Can only be returned to the calling of the interface layer of the interface is C can only return to the B, C how to return directly to the A?
Reply:
Propulsion Navigation controls.

Pressure b interface, press c interface
There is a method that can pop to the A interface.
Reply:
 
- (Void) ReturnA
{
ClassA * theView = [[[ClassA alloc] init] autorelease];
UINavigationController * nextView = [[UINavigationController alloc] initWithRootViewController: theView];
[Self presentModalViewController: nextView animated: YES];
[NextView release];

}

Reply:
This also lines
Reply:
push that forward, pop is back forward.

No comments:

Post a Comment