我想大声告诉你2017-04-28 09:07:10
First of all, this problem is only limited to the initialization methods provided in the SDK provided by Apple, such as getting images locally based on the image name, or getting the image based on NSdata, or getting it based on the URL, or some class methods to directly modify the size. ! The pros and cons all depend on personal needs! Generally, everyone will optimize according to their own project needs, or provide extended initialization methods for UIImage, such as SDWebImage