The Swift Package Index logo.Swift Package Index

PhotoSelectAndCrop

Rillieux/PhotoSelectAndCrop

How you add this package to your project depends on what kind of project you're developing.

When working with an Xcode project:

When working with a Swift Package Manager manifest:

2.0.4

main


This package integrates a UIImagePickerController into a SwiftUI app. Obtain 1) a copy of the original image, 2) a scaled and / or cropped version of it, 3) a CGFloat and 4) CGPoint. The CGFloat and CGPoint represent the scale and position of the original image used to make the processed version.


Compatibility

Full Build Results



First published: 29 May 2021 - Last updated: 25 Dec 2021