我在tableviewcell里面有一个uiview.当我使用ios 8运行代码时,表格单元格看起来很好并且工作正常.但是当我尝试在ios 7中运行此代码时,表格单元格内容与单元格的其他内容重叠.
任何人都可以帮我正确地做到这一点.
附上Tableviewcell scrrenshot如下:
- -(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
- {
- if(!self.customCell){
- self.customCell = [self.goalDetailsTableview dequeueReusableCellWithIdentifier:@"GoalDetailsCell"];
- }
- //Height of cell
- float height = 360;
- return height;
- }
提前致谢.