CATiledlayer setContents nil给我一个崩溃

时间:2013-08-15 04:11:59

标签: objective-c crash catiledlayer setneedsdisplay

我有一个关于CATiledlayer的uiview。我想重用视图,所以我写道:

self.layer.contents = nil; 
[self.layer setNeedDisplay]; 

但我随机崩溃了。堆栈跟踪如下:

0 libsystem_kernel.dylib 0x3929908c __psynch_cvwait + 24
1 libsystem_c.dylib 0x391f4f19 pthread_cond_wait + 41
2 QuartzCore 0x32d3b205 CAImageProviderSetCallback + 189
3 QuartzCore 0x32dc600d -[CATiledLayer setContents:] + 73
4 TBClient 0x000933ed -[TBRichTextView drawRichTextContent] (TBRichTextView.m:114)

任何人都可以帮我解决这个问题吗?

0 个答案:

没有答案