嗨,我得到這個錯誤!我在indexpath.row中使用NSNumber,但它給予警告,我的代碼有什麼問題請幫助。隱式轉換失去整數精度'NSUInteger'(又名'unsigned long')爲'int'警告?
NSNumber *num=[NSNumber numberWithInt:indexPath.row];
[HUD showWhileExecuting:@selector(callingMethod:) onTarget:self withObject:num animated:YES];
它的正常工作謝謝:) –