开发者

iPhone sdk - UIImageView overlap issue

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.

iPhone sdk - UIImageView overlap issue


Set the property masksToBounds: YES for the UIImageView.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜