您的位置:首页 > 移动开发 > Objective-C

SetNeedsDisplay but drawRect not called

2012-02-24 05:38 302 查看
http://www.iphonedevsdk.com/forum/iphone-sdk-development/12211-drawrect-not-called-after-setneedsdisplay.html

I have the same problem and fixed it now. The reason is that in the function awakeFromNib, I create a new OpenGLView object, and so the IB-wired view is no longer the view responsed to the controller. 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  function object