"Parse issue expected identifier"
コンパイラでエラーが発生します。何が問題なのかわかりません。セルには識別子があり、ラベルへのポインターを取得するだけです。
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:identifier];
//UILabel *cellLabel = (UILabel *) [cell viewWithTag:1];
UILabel *cellLabel = [cell.textLabel.text];
私がコメントした行は機能します。 where[cell viesWithTag:1]
はタグ 1 のラベルを取得します。しかし、次の行が同じように機能しないのはなぜだろうか。この線:
UILabel *cellLabel = [cell.textLabel.text]
ありがとう