开发者

draw a layer with some color in iPhone Application

I would like to know how to draw a layer with some color [CGColorRef] in a window

When i am trying to addSubLayer to my window , the application is ex开发者_StackOverflow中文版iting without showing any exception.


If your app is just quitting with no debug error, there still could be a message sent to some deallocated instance. Try turning on NSZombieEnabled by following the instructions here: http://www.codza.com/how-to-debug-exc_bad_access-on-iphone

This will tell you when a bad message is sent.

Further, if you'd like to ask a question involving specific code, you'll get better responses. Try posting your code and maybe we can help you with basic debugging.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜