#pragma mark returns the current UIView uicontroller-(Uiviewcontroller *) funrespondervc{UIView *net = [Super Superview];//Return to the previous level of view. Until the Uiviewcontroller view is found uiresponder *nextresponder = [next Nextresponder]; if ([Nextresponder Iskindofclass:[uiviewcontroller class]]) {return (Uiviewcontroller *) nextres Ponder; } else{return nil; }}
Uiviewcontroller *VC = [[Uiviewcontroller alloc] init];
[[Self FUNRESPONDERVC] PRESENTVIEWCONTROLLER:VC animated:yes Completion:nil];
This realizes the UIView jump, in fact can be written in Uiviewcontroller, do not need to be so troublesome, but considering the code encapsulation and code later changes, so encountered in the UIView jump is essential.
This article is from the "snowflakes flying over the World" blog, please be sure to keep this source http://smengxiang.blog.51cto.com/11204872/1871740
Jump for IOS UIView