我在我的iOS应用中使用Namo Media SDK原生广告。在我setAdData:
的{{1}}回调中,我遇到了这个例外:
NAMOAdFormat
我无法弄清楚我做错了什么。我从未明确地将2014-05-14 20:40:43.368 NewsStreamIOS[30861:90b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIImageView namo_setImageWithURL:placeholderImage:completed:]: unrecognized selector sent to instance 0xb154830'
*** First throw call stack:
(
...
4 CoreFoundation 0x020e10ee _CF_forwarding_prep_0 + 14
5 NewsStreamIOS 0x0001b701 __92-[NAMOAdData loadIntoImageView:imageURL:imageMetadata:placeholderImage:animation:completed:]_block_invoke + 570
6 libdispatch.dylib 0x027587b8 _dispatch_call_block_and_release + 15
...
)
明确地告知错误。
我的UIImageView namo_setImageWithURL
方法如下所示:
setAdData