How does my ARC app work in iOS 3.x?

天涯浪子 提交于 2019-11-29 02:20:15

ARC is mostly a compile time feature, the compiler inserts the appropiate release calls. AFAIK only zeroing weak references need runtime support. So as longs as you don't use those you're on thin ice, but it can work.

Because ARC works at compile time so you can link with SDK 5.0 and support iOS 4.0 if you want. The app will crash on 4.0 if you use any function that's been intruduced on 5.0.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!