NSData * imageData = UIImageJPEGRepresentation(image,1);
length = [imageData length]/1000;
或者是1024,不过1000稍微精准
NSData * imageData = UIImageJPEGRepresentation(image,1);
length = [imageData length]/1000;
或者是1024,不过1000稍微精准
转载于:https://www.cnblogs.com/haotianToch/p/6797744.html