开发者

Draw text and image on a UIView or UIImageView?

I need to draw some text and some images(Escape character) on a View(UIView, UIImageView or whatever).I know override Draw method, or take a CGContext to generate a CGImage. But I don't know how to bring about code. Can someone give me an example. Especially how to get the position when l开发者_如何学Cast component is drawn. Thanks very much.


Could you not just use a UILabel, and add it to the UIView?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜