【发布时间】:2012-03-31 18:35:57
【问题描述】:
每次运行我的应用程序时,我都会收到一条我不完全理解的警告:
Layout still needs update after calling -[WebHTMLView layout]. WebHTMLView or one of its superclasses may have overridden -layout without calling super. Or, something may have dirtied layout in the middle of updating it. Both are programming errors in Cocoa Autolayout. The former is pretty likely to arise if some pre-Cocoa Autolayout class had a method called layout, but it should be fixed.
(我已经看到了这个related question,但提供的答案解决了一些其他问题,因此我的问题。)一旦我向我的应用程序添加网络视图,就会出现警告。这是什么意思,我应该如何解决这个问题?
【问题讨论】:
标签: macos cocoa webview autolayout