從網頁跟HTML Body撈取所有圖片的URL網址
安裝:在podfile內新增
pod "SWebViewImageDownload",接著pod install
使用:
給訂一個網址
NSString *url = @"http://xxxx.com";
初始化SWebViewImageDownload,並給stringType(StringTypeWithURL為一般網址、StringTypeWithHTML為HTML Body內文)
SWebViewImageDownload *webImageDownload = [[SWebViewImageDownload alloc] initWithHTMLString:url stringType:StringTypeWithURL];
This project uses MIT License.