私のアプリでフォトギャラリーを作成しようとしていますが、私は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)
これを行う方法はありますか?
私は再び試みたが、私は以下のコードを実装しようとしたとき、私はこのエラーを得た:[NSURL URLWithString:(indexPath.row == 0){ \t \t MyPhoto *写真= [[MyPhotoのalloc] initWithImageURL場合 – user1125231
を:@ "https://s3.amazonaws.com/twitter_production/profile_images/425948730/DF-Star-Logo.png"] name:@ "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
エラーはどこですか? – CodaFi