1

I have a UITableView in which i have used Autolayout feature . Now when i am trying to delete a particular row, the delete button covers my Custom Cell Right label .

Its working fine without auto layout using structs and springs but not with auto layout. I have used auto layout in my whole project so can't remove that feature .

image for the description : http://f.talk.to/3afcd0c1376910337a36ba6d

4

2 回答 2

2

你应该使用UIViewAutoresizingFlexibleLeftWidth.

[yourLabel setAutoresizingMask:UIViewAutoresizingFlexibleWidth];
于 2013-08-19T11:20:35.523 回答
0

如果你有 xib 然后去 xib 检查器去属性.. 取消选中使用自动布局并去检查器并设置 autosize 属性图像将在那里设置边界并取消选中框内的线条.. 希望这会有所帮助。

于 2013-08-19T11:20:54.970 回答