Instantiating an Image

To use an image in an app, iOS provides a class called UIImage. This class supports many image formats:

Image Portable Network Graphic (PNG): .png

Image Tagged Image File Format (TIFF): .tiff, .tif

Image Joint Photographic Experts Group (JPEG): .jpeg, .jpg

Image Graphic Interchange Format (GIF): .gif

Windows Bitmap Format (DIB): .bmp, .BMPf

Windows ...

Get iOS Components and Frameworks: Understanding the Advanced Features of the iOS SDK now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.