Saturday, September 28, 2013

error: 'release' is unavailable: not available in automatic reference counting

May I ask what this is a mistake

The how to correct

Thank you
Reply:
project using ARC, not retian, release god of horses do not. The compiler will automatically add.
Concrete can Baidu ARC explain.

If you want to close the ARC, this time, you can compile the project settings "Objectice-C Auto Reference Counteting" set to NO. As follows.


Reply:
That I do not know the compiler automatically adds good, or good handwriting?
Reply:
Handwritten personal habits, need to be familiar with the ARC ARC some statements.

No comments:

Post a Comment