我有一支主要的UINavigationController, 履行一个部分的Curl gue,显示一套在交换机上。 部分交换机/交换机必须确保有组合变量(如四舍五入)。 如果这些组合不存在,那么我就希望推动另一种认证的Segue(占4.0%)。 现在, 如果我从库勒部分盖的主计长那里做以下工作:
FoursquareAuthViewController *controller = [[FoursquareAuthViewController alloc] init];
[self presentModalViewController:controller animated:YES];
四名首席仲裁员将接替本部分的库勒。 适当开展这项工作的最佳方式是: 四名总书记长是否接受全方位的筛选,最好是从单程式排出?
I was thinking about passing the source controller as the delegate to the Partial Curl controller, then when the switch is flipped, checking if the configuration exists. If it does not, trigger the delegate to push the FoursquareAuthViewController. It just seems kind of goofy to do that way...
最新情况:
企图将下列任何一分子混为一谈。
FoursquareAuthViewController *controller = [[FoursquareAuthViewController alloc] init];
[[[self presentingViewController] navigationController] pushViewController:controller animated:true];
FoursquareAuthViewController *controller = [[FoursquareAuthViewController alloc] init];
[[self presentingViewController] presentModalViewController:controller animated:YES];