开发者

Drawing on UIScrollView and UIImageView

开发者 https://www.devze.com 2023-01-14 00:42 出处:网络
I want to draw line on image view the开发者_Python百科n image view is to put on scroll view. How to do that? Any Idea???Set the scroll view\'s contents to a UIView.Display the image in the UIView, do

I want to draw line on image view the开发者_Python百科n image view is to put on scroll view. How to do that? Any Idea???


Set the scroll view's contents to a UIView. Display the image in the UIView, do a setNeedsDisplay on that view, and draw anything you want when the UIView's drawRect gets called.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号