Namo Media SDK无法识别namo_setImageWithURL的选择器异常

时间:2014-05-15 03:47:41

标签: ios objective-c unrecognized-selector

我在我的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

1 个答案:

答案 0 :(得分:2)

  

点击构建设置,找到其他链接标记设置。   将-ObjC添加到调试发布

来自Namo Quick Start Guide