您的位置:首页 > 移动开发 > IOS开发

iOS familyNames

2015-09-08 17:03 351 查看
@property (nonatomic,
strong) NSArray *listData;

self.listData = [UIFont
familyNames];

放在表视图里面:

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{

// Return the number of rows in the section.

return
self.listData.count;
}

cell.textLabel.text =
self.listData[indexPath.row];

cell.textLabel.font = [UIFont
fontWithName:self.listData[indexPath.row]
size:20];
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: