UIImage
extension UIImage
-
Returns how much bytes the image takes in the memory.
Important
Works reliably only for CGImage backed images.Declaration
Swift
var memoryCost: Int { get }
extension UIImage
Returns how much bytes the image takes in the memory.
Important
Works reliably only for CGImage backed images.Swift
var memoryCost: Int { get }