TableView Cell 使用方法dequeueReusableCellWithIdentifier

從xib或storyboard 使用自定cell

 

- (UITableViewCell *)tableView:(UITableView *)tableView  cellForRowAtIndexPath:(NSIndexPath *)indexPath

{

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"flowerCell"];

    return cell;

}


 

文章標籤
全站熱搜
創作者介紹
創作者 zer931 的頭像
zer931

zer931的部落格

zer931 發表在 痞客邦 留言(0) 人氣(207)