ImageRow icon indicating copy to clipboard operation
ImageRow copied to clipboard

How could I crop an image of ImageRow

Open student-101 opened this issue 4 years ago • 4 comments

How could I crop an image when user selects an image at ImageRow?

student-101 avatar Jan 04 '20 12:01 student-101

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)
        })

hakan-niflioglu avatar Jan 04 '20 12:01 hakan-niflioglu

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.

student-101 avatar Jan 04 '20 14:01 student-101

I'am also new to ImageRow but this may be helpful. https://github.com/EurekaCommunity/ImageRow/issues/10

hakan-niflioglu avatar Jan 04 '20 14:01 hakan-niflioglu

I can't understand that issue's answer so much.( ; ; )

student-101 avatar Jan 05 '20 19:01 student-101