Iphone SDK Utility Application template has leak

2019-01-15 07:15发布

i'm only create an project with a Utility Application template. This template has a native memory leak when i push "info button" to flip the view.

Anyone know how can i fix this leak ??? I just make an new project from this template, i don't add new objects.

8条回答
forever°为你锁心
2楼-- · 2019-01-15 07:48

This must be a bug. It appears in Apple's own example, PageControl, found here: http://developer.apple.com/iphone/library/samplecode/PageControl/index.html#//apple_ref/doc/uid/DTS40007795

查看更多
我只想做你的唯一
3楼-- · 2019-01-15 07:53

Hope this helps.

From: http://www.cocos2d-iphone.org/forum/topic/2460

"The simulator has bugs related to singletons and llvm stuff that are incorrectly reported by Instruments. Always check your leaks on the device itself."

查看更多
登录 后发表回答