Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c KTPhotoBrowser推送至KTTumbsViewController_Objective C_Xcode - Fatal编程技术网

Objective c KTPhotoBrowser推送至KTTumbsViewController

Objective c KTPhotoBrowser推送至KTTumbsViewController,objective-c,xcode,Objective C,Xcode,我正在尝试使用它的缩略图视图功能。我很难推送到从KTThumbsViewController派生的viewController。navigationController似乎只能推送到UIViewController: - (void)showSDWebImageSample { KTThumbsViewController *newController = [[KTThumbsViewController alloc] init]; [self.navigationControl

我正在尝试使用它的缩略图视图功能。我很难推送到从KTThumbsViewController派生的viewController。navigationController似乎只能推送到UIViewController:

- (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'

谁能帮我一下吗

干杯