苹果照片应用程序裁剪风格



我想允许在我的应用程序中手动裁剪照片,但我想像 Apple 在照片应用程序中那样做(使用漂亮的 3x3 拆分和手指拖动到用户希望图像开始/结束的位置)。有没有人对我如何实现它有任何提示?

有一些开源替代方案可以模拟这种行为,看看这个:

  • https://github.com/iosdeveloper/ImageCropper
  • https://github.com/barrettj/BJImageCropper
  • https://github.com/ardalahmet/SSPhotoCropperViewController

最新更新