UIImageView-GeometryConversion icon indicating copy to clipboard operation
UIImageView-GeometryConversion copied to clipboard

Error in swift code

Open gipfelen opened this issue 6 years ago • 0 comments

There ist a small error in "convertRect(fromViewRect viewRect : CGRect)"

let imageTopLeft = convertPoint(fromImagePoint: viewTopLeft) let imageBottomRight = convertPoint(fromImagePoint: viewBottomRight)

should be replaced with

let imageTopLeft = convertPoint(fromViewPoint: viewTopLeft) let imageBottomRight = convertPoint(fromViewPoint: viewBottomRight)

gipfelen avatar May 05 '18 12:05 gipfelen