當我試着使用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