English 中文(简体)
如何在管理层装上层时收回这一坠毁问题? BAD_ACCESS 信号
原标题:How to recover this crash issue when pdf loading by layer?app received EX_BAD_ACCESS signal
  • 时间:2011-11-21 06:36:55
  •  标签:
  • ipad

I have attached my code here.
Program get EX_BAD_ACCESS signal at this line:

CGContextConcatCTM(ctx, CGPDFPageGetDrawingTransform(self._document.page, kCGPDFCropBox, layer.bounds, 0, true));
问题回答

这一错误通常源自向一个交易地标发出的呼吁。 如果看不到确切的错误(你真的应该包括)或更多的代码(具体地说,如果提到物体是制造和保留/释放的),那么我可以提出的最佳办法是,你核实你所提到的每一项目标在参考时仍然存在。





相关问题
What is the iPad user agent?

From what I gather, the iPad is using iPhone OS, but with a different screen resolution from the iPhone and iPod touch. So many sites may have to change their user agent detection to adapt to the iPad....

iPhone OS 3.2 on the iPhone?

I have edited this OS 3.2 question based on advice that it could infringe Apple s NDA which is something I have no desire to do. For what its worth I didn t reveal anything likely to upset their ...

Does cocos2d framework work on iPad?

Does Cocos2d iPhone framework work on iPad? My guess would be yes, but wanted to check if someone has a definitive answer after porting iPhone project with cocos2d to iPad, or starting a new one.

Run iPhone SDK on iPad

I was wondering if anyone knows if you can run the iPhone SDK on an iPad. Tried looking through apple.com, but didn t find anything useful... I want to be able to develop -- from start to finish -- ...

What s new in iPhone SDK 3.2?

Apparently it is available (www.apple.com/ipad/sdk/), but I can t find a changelog... Not used to apple.com though. Does anybody have detailed information? What I would like to know is : are there ...

iPhone App Icons - Exact Radius?

I m trying to create the icon for my iPhone app, but don t know how to get the exact radius that the iPhone s icons use. I ve searched and searched for a tutorial or a template but can t find one. I ...

热门标签