Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用了之后经常出现-[UIView setImage:] 发送未识别方法的错误 #30

Open
longzhenqi opened this issue Dec 15, 2016 · 16 comments

Comments

@longzhenqi
Copy link

经常点击其他界面的控件就会出现-[UIView setImage:]-[UIView setImage:]: unrecognized selector sent to instance 0x7fc6fcc30ba0' 这个错误;
snip20161215_2

@longzhenqi
Copy link
Author

希望 biao 哥能给一些建议,我确实没有做多余的操作

@mrhyh
Copy link

mrhyh commented Dec 15, 2016

方便把你使用此库的地方的初始化方法贴出来吗

@longzhenqi
Copy link
Author

snip20161216_2
snip20161216_1
这是使用这个类的地方;麻烦您看一下,谢谢

@longzhenqi
Copy link
Author

我就这两个地方使用了这个类;其他都没有使用到

@longzhenqi
Copy link
Author

我可能知道是什么原因了。有一个我没有对他进行弱引用。

@mrhyh
Copy link

mrhyh commented Dec 16, 2016

好的,那你先将self改为弱引用的,还有问题再说

@mrhyh
Copy link

mrhyh commented Dec 16, 2016

如果没问题了,记得关闭Issue

@longzhenqi
Copy link
Author

还是一样的会崩在那个地方呢;
snip20161216_3

@mrhyh
Copy link

mrhyh commented Dec 16, 2016

setImage 这个方法是不是木有

@mrhyh
Copy link

mrhyh commented Dec 16, 2016

今天有点忙,如果今天还没解决,下班回去我再和你一起看哈

@longzhenqi
Copy link
Author

我没有写过这个方法;我把框架拿过来就没有动过他;

@longzhenqi
Copy link
Author

好的;谢谢了;

@longzhenqi
Copy link
Author

可以加你QQ聊吗?

@mrhyh
Copy link

mrhyh commented Dec 17, 2016

昨晚加班太久了,回去都12点了,不好意思哈,1401699567,你用过Demo试一试吗?

@mrhyh
Copy link

mrhyh commented Jan 3, 2017

是不是后台返回的数组有为nil的情况呢?

@stepor
Copy link

stepor commented Feb 17, 2020

@longzhenqi 请问这个问题你后来有解决吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants