Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试过 hnk_setImageFromURL 但它说“'UIImageView' 类型的值没有成员 'hnk_setImageFromURL'。
我已经手动导入了 Haneke.xcodeproj。最重要的是“import Haneke”。
在“构建设置”和“架构”下的项目中,我需要将“仅构建活动架构”设置更改为“是”,然后它就可以工作了。
我认为这更多是因为您这样设置: imgCover?.image.hnk_setImageFromURL(image) 而不是 imgCover?.hnk_setImageFromURL(image)
imgCover?.image.hnk_setImageFromURL(image)
imgCover?.hnk_setImageFromURL(image)