AliyunCropDelegate

@protocol AliyunCropDelegate <NSObject>

裁剪回调协议

  • 裁剪失败回调

    Declaration

    Objective-C

    - (void)cropOnError:(int)error;

    Parameters

    error

    错误码

  • 裁剪进度回调

    Declaration

    Objective-C

    - (void)cropTaskOnProgress:(float)progress;

    Parameters

    progress

    当前进度 0-1

  • 裁剪完成回调

    Declaration

    Objective-C

    - (void)cropTaskOnComplete;
  • 主动取消或退后台时回调

    Declaration

    Objective-C

    - (void)cropTaskOnCancel;