SDWebImage/UIImageView+WebCache.h file not found

前端 未结 10 2561
予麋鹿
予麋鹿 2020-12-28 21:59

I\'m trying to use SDWebImage in my iPhone app. I followed the step by step tutorial to install SDWebImage into my Xcode project.

When I try to build my app i\'m ge

10条回答
  •  清酒与你
    2020-12-28 22:17

    A much cleaner "install" of SDWebImage would be as follow:

    1. Drag SDWebImage folder from Finder into your Xcode's project
    2. On any .m file where you wish to use it add: #import "UIImageView+WebCache.h"

      (and any other SD component needed)

      instead of what you probably did: #import

    this does not require any project header manipulation and will work as is.

提交回复
热议问题