iPhone UIWebview — Saving an image already downloaded

后端 未结 3 2075
时光取名叫无心
时光取名叫无心 2021-02-01 00:08

I have an iPhone app with an embedded UIWebview (Safari) control. I\'d like to be able to store the images from certain webpages locally.

Can I programmatically acces

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-01 00:35

    disclaimer: I have not tried this.

    If you can find out their names, UIImage responds to +(UIImage*)imageNamed:(NSString*) which the docs imply might get the image back from a device wide cache.

    I'd be interested in knowing the results of any experiments.

提交回复
热议问题