开发者

Call drawRect when i click on button in objective c?

How to Call drawRect when开发者_如何学JAVA i click on button in objective c ?

I want to call drawrect method of a view in my UItabbarcontroller. How i can do this ? Thanks in advance..


Rather than calling drawRect method directly you must call -setNeedsDisplay or -setNeedsDisplayInRect: method on your view - that will force the view to redraw (so drawRect method will get called automatically).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜