开发者

Call drawRect when i click on button in objective c?

开发者 https://www.devze.com 2023-01-18 20:35 出处:网络
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 cal

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

精彩评论

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