i have app loads image web this
[self.userimage setimagewithurl:imageurl placeholderimage:[uiimage imagenamed:@"userphoto.png"]];
and works perfectly. i'm still wondering if can somehow save or cache image shows quicker when user opens app again.
any appreciated.
edit:
after importing sdwebimage class , upon compiling error
ld "deriveddata/social app/build/products/debug-iphonesimulator/social app.app/social app" normal i386 cd "/users/iamgretara/documents/youtube app " setenv iphoneos_deployment_target 5.0 setenv path "/applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/usr/bin:/applications/xcode.app/contents/developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /applications/xcode.app/contents/developer/platforms/iphonesimulator.platform/developer/sdks/iphonesimulator6.1.sdk "-l/users/iamgretara/documents/youtube app /deriveddata/social app/build/products/debug-iphonesimulator" "-l/users/iamgretara/documents/youtube app /gdata" "-f/users/iamgretara/documents/youtube app /deriveddata/social app/build/products/debug-iphonesimulator" -f/applications/xcode.app/contents/developer/library/frameworks -filelist "/users/iamgretara/documents/youtube app /deriveddata/social app/build/intermediates/social app.build/debug-iphonesimulator/social app.build/objects-normal/i386/social app.linkfilelist" -xlinker -objc_abi_version -xlinker 2 -objc -fobjc-arc -fobjc-link-runtime -xlinker -no_implicit_dylibs -mios-simulator-version-min=5.0 -framework imageio -framework mediaplayer -framework coretext -framework avfoundation -framework systemconfiguration -framework security -framework quartzcore -framework uikit -framework foundation -framework coregraphics -o "/users/iamgretara/documents/youtube app /deriveddata/social app/build/products/debug-iphonesimulator/social app.app/social app" undefined symbols architecture i386: "_objc_class_$_mkannotationview", referenced from: l_objc_$_category_mkannotationview_$_webcache in mkannotationview+webcache.o ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
sure, can save file disk , check if exists before try load (all based on url matching). there libraries kind of stuff sdwebimage
/ hjcache
.
Comments
Post a Comment