A simple SwiftUI view where user can move and resize an image to a pre-defined size.
Find a file
2024-08-13 21:02:07 +01:00
.swiftpm/xcode/package.xcworkspace/xcshareddata Initial Commit 2023-07-21 13:20:31 +08:00
Sources/CropImage only allow when hovered 2024-08-13 21:02:07 +01:00
.gitignore Initial Commit 2023-07-21 13:20:31 +08:00
.spi.yml docs: Update README. 2023-07-24 11:50:05 +08:00
LICENSE Create LICENSE 2023-07-24 11:51:16 +08:00
Package.swift add visionos support 2024-03-28 15:25:13 +08:00
README.md update docs 2024-03-28 15:25:13 +08:00

CropImage

A simple SwiftUI view where user can move and resize an image to a pre-defined size.

Supports iOS 14.0 and above, visionOS 1.0 and above or macOS Ventura 13.0 and above.

  • Supports iOS, visionOS and macOS
  • Use ImageRenderer to render the cropped image, when possible
  • Very lightweight
  • (Optionally) bring your own crop UI

Full documentation is available on Swift Package Index. Be sure to choose the correct version.

Preview on macOS

License

MIT