OGeek|极客世界-中国程序员成长平台

标题: ios - 在 XCode 中通过内存地址查找 UIView? [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-11 20:18
标题: ios - 在 XCode 中通过内存地址查找 UIView?

我目前收到以下错误:

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.

我需要更改用户定义的属性,但我不知道编译器指的是哪个 UIView!

有没有办法获取这些信息并找到 UIView 以便我修复它?我一直在浏览 storyboard 中的每个 View ,试图找到它,但它需要很长时间。



Best Answer-推荐答案


根据 Larme 的评论,将 Storyboard 作为源代码打开并执行 ctrl+F 解决了我的问题。

关于ios - 在 XCode 中通过内存地址查找 UIView?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51108129/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://ogeek.cn/) Powered by Discuz! X3.4