1

カスタムテーブルビューセルを備えたテーブルビューを備えたビューコントローラーがあり、その後

-(void)connectionDidFinishLoading:(NSURLConnection *)connection
{}

以下のコードを使用した後、タイプ 'ViewController2 *' のオブジェクトにプロパティ 'tableview' が見つかりませんでした。これがないと、データはテーブルビューに表示されません。

[self.tableview reloadData];

修正方法がわかりません。助けてください。助けていただければ幸いです。

前もって感謝します。

4

1 に答える 1

1

上記エラーの可能性

     1) Your Xib would not have been connected with your ViewController2
     2) You would have not connected your tableView IBOutlet to your xib
     3) In case if you have not @synthesize it if you have declared it as a property
     4) If all the above you did correctly just clean your Xcode and run
于 2013-03-21T06:34:29.917 に答える