Problem Description:
In the iOS development process encountered the nesting of pages, for example, under a Uiviewcontroller nest three Uitablebviewcontroller, This way in the Uitableviewcontroller click on the image or button to push the way to jump will encounter problems, because there is no jump, Because there is no navigationcontroller in the Uitableviewcontroller can not jump, use a third-party picture to view the class Library Mwphotobrowser page jump is not so.
Solution:
Use simple interest mode to solve. When the page jumps to get uitableviewcontroller of the parent view, that is, Uiviewcontroller, so then jump, you can.
Simple interest notation:
Static Uiviewcontroller *uiview;
+ (Uiviewcontroller *) uiviewinstance{
@synchronized (self) {
if (UiView = = nil) {
UiView = [[self class] alloc] init];
}
}
return uiView;
}
Solve the problem when using Mwphotobrower jump