I have a UITableView as shown in the attached image. I use a UIImageView in the custom cell of the UITableView and I rotate to some d开发者_JAVA技巧egrees. The images in the UIImageView are fit according to their size. The problem is, some of the images are overlapped on the view of next cell. Though the UIImageView exceeds the boundary of the cell, I do not want the image to be overlapped. Someone help me to come out of this problem. Thanks in advance.
Set the property masksToBounds: YES
for the UIImageView
.
精彩评论