简体   繁体   English

Objective-C,EXC_BAD_ACCESS

[英]Objective-C, EXC_BAD_ACCESS

My problem here is that I disabled ARC for MyViewController (to be able to use a specific encryption lib) and now I get this : 我的问题是我禁用了MyViewController的ARC(以便能够使用特定的加密库),现在我得到了:

Thread 1: EXC_BAD_ACCESS (code=EXC_I386_GPFLT)

when I try to access an array.. Anyone knows what I can do to solve this ? 当我尝试访问数组时。任何人都知道我可以做些什么来解决这个问题?

Thanks. 谢谢。

Don't disable ARC for MyViewController . 不要为MyViewController禁用ARC。 You should be able to make calls to a manual reference count class or function from an ARC class. 您应该能够从ARC类中调用手动引用计数类或函数。 If you have trouble calling this "specific encryption lib" from an ARC class, then post a question about that. 如果您无法从ARC类调用此“特定加密库”,请发布有关此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM