---
title: "[ios]ios7 tableViewCell异常"
author: "119568242"
date: "2013-09-13T22:05:29Z"
tags: []
categories: ["移动开发"]
slug: "ios-ios7-tableviewcell"
draft: false
lastmod: "2013-09-13T22:05:29Z"
id: 1942087
url: "https://poolo.iteye.com/blog/1942087"
---

在ios6 正常的tableViewCell在 ios7异常：

原因出自 正确的把自定义的view加载cell上面的方法是通过\[自定义view作为contentView的子view]

\[cell.contentView addSubView:xx];

 

如果在ios6正常 ios7异常的

那么有一种可能是因为你在添加自定义的时候使用了：

\[self addSubView:xx];