close

TableView Cell 使用方法dequeueReusableCellWithIdentifier

從xib或storyboard 使用自定cell

 

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

{

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

    return cell;

}


螢幕快照 2012-11-05 下午12.16.37  

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 zer931 的頭像
    zer931

    zer931的部落格

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