读书人

苹果bug-获取键盘有内存泄露有关问题

发布时间: 2012-07-01 13:15:00 作者: rapoo

苹果bug--获取键盘有内存泄露问题

memory leaks in open_handle_to_dylib_path and UIKeyboardInputManagerClassForInputMode

?

If you're developing an iPhone app that uses UITextField objects and you're rigorous enough to check for memory leaks using Instruments, chances are you'd discover some leaks in UIKit and CoreGraphics libraries, stemming from some allocations done in dyld::mkstringf, called from dyld::loadPhase5.

?

According to some reports found on the web, it seems that this is a bug in the tools from Apple, and it appears only on the simulator, not when testing on the actual device. So you could safely ignore it. In any case you couldn't do anything about it, as the traceback leading to the leak goes through code outside of your control, that is, unless you happen to work for Apple :).

读书人网 >移动开发

热点推荐