当我试着使用performSelectorOnMainThread
此更改按钮的隐藏价值的作品:布尔值转换在IOS
[pictureButton performSelectorOnMainThread:@selector(setHidden:) withObject:NO waitUntilDone:YES];
但这:
[pictureButton performSelectorOnMainThread:@selector(setHidden:) withObject:YES waitUntilDone:YES];
给出了这样的错误:
Cannot initialize a parameter of type 'id' with an rvalue of type 'signed char'
发生这种错误会发生什么样的内部转换?我该如何解决这个问题?
读取(NULL)指针的时间... – 2012-11-21 17:22:38