Oneshot, Programming, iOS App Development.
Image View exactly. You can see this working in the updateConstraints method of OSShotImageView. When changing whether to crop or not I add/remove the ratio constraints. This has the caveat that I can’t animate from cropped to uncropped and vice versa but luckily that wasn’t necessary for this app.