When jumping from one controller to another, there are generally the following 2 types:
1, the use of Uinavigationcontroller, call Pushviewcontroller, to jump, the use of the pressure stack and the way out of the stack controller management. Call the Popviewcontrolleranimated method to return.
Pickimageviewcontroller *ickimageviewcontroller = [[Pickimageviewcontroller alloc] init];
[Self.navigationcontroller Pushviewcontroller:ickimageviewcontroller animated:true];
[Ickimageviewcontroller release];
2, using the Uiviewcontroller own presentmodalviewcontroller, to jump; Call the Dismissmodalviewcontrolleranimated method to return.
Pickimageviewcontroller *ickimageviewcontroller = [[Pickimageviewcontroller alloc] init];
[Self Presentmodalviewcontroller:ickimageviewcontroller animated:yes];
Return
[Self dismissmodalviewcontrolleranimated:yes];
iOS Viewcontroller page jump