how to add ARC in between of project

前端 未结 6 1145
走了就别回头了
走了就别回头了 2021-01-07 09:58

I am creating iPhone app and in between I need to use SDWebImage. For this I need to use ARC.

Any idea how to add ARC in between in project?

Note:

6条回答
  •  星月不相逢
    2021-01-07 10:26

    Change from build settings
    
    Project->Build setting->Objective-C Automatic Reference Counting  SET YES
    
    If you need to remove ARC then Go to  Project->Build Phases->compile sources then find your file Which you need to remove ARC then set compile source '-fno-objc-arc' 
    

提交回复
热议问题