【发布时间】:2012-01-16 06:39:25
【问题描述】:
PinViewController *k_View = [[PinViewController alloc] initWithNibName:@"PinViewController" bundle:nil];
UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:k_View];
[self presentViewController:navigationController animated:YES completion: nil];
NSString *addr = sender.titleLabel.text;
[k_View showPinView:addr];
这是我的代码。新视图是以编程方式添加的,所以我不能只使用 GUI 来选择我想要的 segue 效果类型。我想使用使用过渡“Cross Disolve”的 Segue,我将如何在代码中执行此操作?
谢谢!
【问题讨论】: