private void RotateTap() { UIView.Animate(0.15, () => { rotate.Alpha = 0.6f; }, () => { UIView.Animate(0.15, () => { rotate.Alpha = 1f; }, null); }); _cropView.RotateTap(); if (source.MultiPickMode) { _cropView.ApplyRightScale(); var currentPhoto = source.ImageAssets.FirstOrDefault(a => a.Asset.LocalIdentifier == source.CurrentlySelectedItem.Item2.LocalIdentifier); if (currentPhoto != null) { currentPhoto.Offset = _cropView.ContentOffset; currentPhoto.Scale = _cropView.ZoomScale; currentPhoto.OriginalImageSize = _cropView.originalImageSize; currentPhoto.Orientation = _cropView.orientation; currentPhoto.Image = _cropView.imageView.Image; } } else { source.ImageAssets[0].Image = _cropView.imageView.Image; _cropView.ApplyCriticalScale(); } }
private void RotateTap() { UIView.Animate(0.15, () => { _rotateButton.Alpha = 0.6f; }, () => { UIView.Animate(0.15, () => { _rotateButton.Alpha = 1f; }, null); }); _cropView.RotateTap(); ImageAssets.RemoveAt(0); ImageAssets.Add(new Tuple <NSDictionary, UIImage>(null, _cropView.imageView.Image)); _cropView.ApplyCriticalScale(); }