CGContext擦除错误 [英] CGContext Erase Error
问题描述
我一直收到这个错误:
Jan 31 13:56:51 Michaels-MacBook-Air.local CocoaDrawing [2129]<错误>:函数CGContextErase已过时,将在即将到来的更新中删除。不幸的是,此应用程序或其使用的库正在使用此过时的函数,从而有助于系统性能的整体降低。
我的程序不直接调用该方法,令人沮丧的是,我找不到任何关于此函数的文档。
My program doesn't call that method directly, and frustratingly, I can't find any documentation on this function.
即使使用空白(Cocoa)Xcode项目也会发生这种情况。为什么会收到此错误?
This happens even with a blank (Cocoa) Xcode project. Why am I getting this error?
推荐答案
我遇到了这个问题。它是由过时的Wacom平板电脑驱动程序造成的。如果你安装了这样的驱动程序,我建议删除它,然后重新安装一个更新的驱动程序。这对我来说是个诡计。
I had this problem. It was caused by an outdated Wacom Tablet driver. If you have such a driver installed I'd recommend removing it, then reinstalling a more recent driver. That did the trick for me.
这篇关于CGContext擦除错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!