문제

My iOS games debug it in device,would crash in every 5 minutes.In my games,some object are retain,and some are autorelease.I know my games have memory leaks,but I try to fix it in my best.What should I do next?

I tried to use Insturment Leaks to trace where leak,and tried device debug log,too.But nothing help.

Thx a lot.

PS:forget my fundamental English.

도움이 되었습니까?

해결책

You have to use automatic reference counting (ARC), it will automatically handle the memory better than what you are doing

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top