我想在我的应用程序中创建照片库,我尝试使用Three20和EGOPhotoViewer。我想使用EgoPhotoViewer,但我是编程新手,我不知道如何将EgoPhotoViewer安装到我的应用程序中。当我尝试使用它时,我得到了这个错误:如何在我的应用程序中安装EGOPhotoViewer?
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_MyPhoto", referenced from:
objc-class-ref in MasterViewController.o
"_OBJC_CLASS_$_MyPhotoSource", referenced from:
objc-class-ref in MasterViewController.o
"_OBJC_CLASS_$_EGOPhotoViewController", referenced from:
objc-class-ref in MasterViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
有没有这样做的方法?
我又试了一次,但是当我尝试执行以下代码,我得到这个错误: – user1125231 2012-01-01 19:54:21
如果(indexPath.row == 0){ \t \t MyPhoto *照片= [[MyPhoto页头] initWithImageURL:[NSURL URLWithString :@ “https://s3.amazonaws.com/twitter_production/profile_images/425948730/DF-Star-Logo.png”]名称:@ “lskdjf lksjdhfk jsdfh ksjdhf sjdhf ksjdhf ksdjfh ksdjh skdjfh skdfjh”]; MyPhotoSource * source = [[MyPhotoSource alloc] initWithPhotos:[NSArray arrayWithObjects:photo,nil]]; \t \t \t \t EGOPhotoViewController * photoController = [[EGOPhotoViewController alloc] initWithPhotoSource:source]; \t \t [self.navigationController pushViewController:photoController animated:YES]; \t} } – user1125231 2012-01-01 19:57:18
哪里出错? – CodaFi 2012-01-01 20:00:49