When working with an Xcode project:
When working with a Swift Package Manager manifest:
Select a package version:
The image picker allow to take pictures with the devices camera or select pictures from the library. It takes care of state management and handles the case of no camera access.