TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

How do you match foreground to background?

Open devshaww opened this issue 2 years ago • 0 comments
trafficstars

What are you trying to achieve with this library exactly? Please describe. I might get this wrong.

From what I can understand, matching foreground to background is to make 2 images move and scale together so that they look like one image. But how did you match them?

According to the content of matchForegroundToBackground: self.backgroundContainerView.superview is exactly scrollview right? But I think the frame of backgroundContainerView does not change(what changes is the contentOffset)so I don't quiet understand.

Thanks in advance! That'll be of great help.

devshaww avatar Sep 19 '23 14:09 devshaww