私はインターフェイスビルダーのUIImageをビューにドラッグしてドロップダウンからPNGを選択しましたが、これはうまくいきますが、これで行の数に応じてuiimageの表示を変更したい場合表コード:programatically uiimageのvisibiltyを設定します
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
id <NSFetchedResultsSectionInfo> sectionInfo = [[self.fetchedResultsController sections] objectAtIndex:section];
return [sectionInfo numberOfObjects];
}
iは出口としてuiimageを宣言すると、テーブル内の行の数がより多く、1であればどのように上記のコードでの視認性をコーディングなるだろう(すなわち。行があります)