NSPlaceholderString内存泄漏与ARC

Pac*_*nos 9 cocoa-touch memory-leaks objective-c ios automatic-ref-counting

目前我用ARC开发了一个iOS应用程序.该应用程序是一个带有两个TableViewControllers的故事板应用程序.

问题是,在下列情况下,仪器显示内存泄漏:

启动应用程序 - > MainViewController加载 - >按Home键 - >出现本地通知 - > App开始使用本地通知 - > AppDelegate获取导航控制器 - > MainViewController中的调用函数加载2 .View Controller - > 2.显示View Controller,用户点击"Back".

此时仪器显示内存泄漏:

Leaked Object | # | Address   | Size     | Responsible Library | ResponsibleFrame
__NSCFString  | 1 | 0xe40dd30 | 32 Bytes | Foundation          | -[NSPlaceholderString initWithFormat:locale:arguments:]
Run Code Online (Sandbox Code Playgroud)

当我查看堆栈跟踪时,我看不到任何自己的功能.

我在编程中是否犯了错误,或者这是Apple Framework中的错误.

怎么能避免这个问题?

堆栈跟踪

Nis*_*eth 5

我收到了NSPlaceholderString的这种泄漏.但是你可以忽略它,因为Apple Framework只泄漏了32个字节.