我需要为我的游戏使用划痕效果。这是几年前的示例代码。https://github.com/oyiptong/CGScratch它工作得很好,但是当我将它与导航Controller一起使用时,它崩溃了。我的项目使用ARC,我将文件标记为-fno-objc-arc。这是源代码:https://github.com/lifesaglitch/ScratchWithError当我按下ViewController时崩溃,然后弹出,然后重新进入。编辑:当您将所有内容转换为arc,并将使用临时View的ViewController标记为-fno-objc-arc时,它会起作用。但是,当您将临时Vie