You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 1, 2022. It is now read-only.
// Note: Mixing x with height and y with width and flipping y because our image orientation is off by 90 degrees because the iPad's in portrait. In landscape, this fails miserably.
269
+
print("NewRect: \(newRect)")
270
+
newImage = imageView.image?.crop(rect: newRect)
271
+
}
272
+
273
+
self.onComplete?(newImage,nil)
248
274
self.hideSpinner(spinner)
249
275
self.enable()
250
276
}
@@ -311,3 +337,30 @@ public class ConfirmViewController: UIViewController, UIScrollViewDelegate {
0 commit comments