Objective c KTPhotoBrowser推送至KTTumbsViewController
我正在尝试使用它的缩略图视图功能。我很难推送到从KTThumbsViewController派生的viewController。navigationController似乎只能推送到UIViewController:Objective c KTPhotoBrowser推送至KTTumbsViewController,objective-c,xcode,Objective C,Xcode,我正在尝试使用它的缩略图视图功能。我很难推送到从KTThumbsViewController派生的viewController。navigationController似乎只能推送到UIViewController: - (void)showSDWebImageSample { KTThumbsViewController *newController = [[KTThumbsViewController alloc] init]; [self.navigationControl
- (void)showSDWebImageSample
{
KTThumbsViewController *newController = [[KTThumbsViewController alloc] init];
[self.navigationController pushViewController:newController animated:YES];
}
KTThumbsViewController的头文件包括:
@interface KTThumbsViewController : UIViewController <KTThumbsViewDataSource>
@interface-KTThumbsViewController:UIViewController
我从提供的示例中获取了代码。但它给了我以下运行时错误:
-[KTThumbsViewController copyWithZone:]:发送到实例0x8877130的选择器无法识别
2012-10-30 14:52:03.004 myCases_MD[36941:c07]*由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:'-[KTThumbsViewController copyWithZone:]:未识别的选择器发送到实例0x8877130'
谁能帮我一下吗
干杯