ios - 在 XCode 中通过内存地址查找 UIView?
<p><p>我目前收到以下错误:</p>
<pre><code>Failed to set (borderIBColor) user defined inspected property on
(UIView): [<UIView 0x7f8dda6075b0> setValue:forUndefinedKey:]: this
class is not key value coding-compliant for the key borderIBColor.
</code></pre>
<p>我需要更改用户定义的属性,但我不知道编译器指的是<em>哪个</em> <code>UIView</code>! </p>
<p>有没有办法获取这些信息并找到 <code>UIView</code> 以便我修复它?我一直在浏览 <code>storyboard</code> 中的每个 View ,试图找到它,但它需要很长时间。</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p>根据 Larme 的评论,将 Storyboard 作为源代码打开并执行 ctrl+F 解决了我的问题。</p></p>
<p style="font-size: 20px;">关于ios - 在 XCode 中通过内存地址查找 UIView?,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/51108129/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/51108129/
</a>
</p>
页:
[1]