Image components
An Image component is one of the core components offered by SwiftUI. It allows you to display an image, which can be used to provide a visual representation or to aid a body of text. We will use it in two main ways, firstly to showcase a particular app using a Highlight banner, and secondly to show a list/grid of applications. The following figures show the application icon and application highlight banner:
Figure 7.3 – App icon
Figure 7.4 – Banner