Skip to content

QuickTechByte

  • Home

Tag Archives: Size

Swift -> Get size of image in MB

Call a simple function passing url of the image you want the size of. Size can be calculated in KB, MB or GB.        If you want the size in KB then divide it by 1000. If in GB divide it by 1000000000 (1e+9).

Posted byTechByteDecember 3, 2020December 3, 2020Posted iniOS, swiftTags:GB, Image, iOS, KB, mb, Size, swiftLeave a comment on Swift -> Get size of image in MB
  • Home
  • Home
QuickTechByte, Blog at WordPress.com.