Drawing polylines over Image in UIImage View
-
26-09-2019 - |
문제
I want to draw polylines over and image loaded in an UIImageView.
Can someone give me some tips on where to start?
Thank you
해결책
To draw polygon you should use the drawRect method located in UIView subclass.
So 2 solutions :
1°) You subclass UIImageView and in drawRect you draw your image and draw your polylines then
2°) You have an UIImageView and on the top an UIView subclass where you draw your polylines
Drawing the polylines won't be a problem (you should find an answer on stack). (like here : polyines on iphone)
제휴하지 않습니다 StackOverflow