`

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

    博客分类:
  • ios
 
阅读更多

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 :).

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics