これでボタンの隠し値を変更しようとすると、次のようになりますperformSelectorOnMainThread
。
[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'
このエラーを作成するために、どのような内部変換が発生しますか? そして、どうすればこれを解決できますか?