ImageRow
ImageRow copied to clipboard
How could I crop an image of ImageRow
How could I crop an image when user selects an image at ImageRow?
You can crop an image adding accessoryView like below.
<<< ImageRow() {
}.cellUpdate({ (cell, row) in
cell.accessoryView?.layer.cornerRadius = 15
cell.accessoryView?.frame.size = CGSize(width: 30, height: 30)
})
Thank you for your reply. Now, I have another question. How could I show crop-modal for cropping image when users crop a selected image by himself? Thank you.
I'am also new to ImageRow but this may be helpful. https://github.com/EurekaCommunity/ImageRow/issues/10
I can't understand that issue's answer so much.( ; ; )