6

I think I have found serious bug in new release of Xcode 5.1 after update my cells start to disappeare when I scroll to the bottom.

enter image description here

When I press on them couple of them enter image description here

When I scroll after that to the top everything is fine and this problem is only on iOS 7.1. At iOS 7.0.3 everything is works fine.

enter image description here

I have found a little hack to make it work at iOS 7.1 To do that I have download old version of Xcode(5.0.2) and make build of application that I have install at my device with iOS 7.1 in this case everything is works fine too. So I think it's some bug in Xcode 5.1

Max Tymchii
  • 826
  • 8
  • 16

2 Answers2

23

Im having the exact same problem with an app i was finalizing and things started to go crazy with the table views (all 3) right after the update..

found the solution iOS 7.1 beta5 tableviewcell height showing objects outside it's range

add the following to your cell

 cell.clipsToBounds =YES;
Community
  • 1
  • 1
DragonScaleZ
  • 371
  • 3
  • 5
1

I also had the same problem when I opened my project in Xcode 5.1 but I solved it in Interface Builder (Storyboard).

  1. Click on the Table View Cell (not the Content View or Table View).
  2. In the Inspector, check 'Clip Subviews'.
  3. Do the same for all the other Table View Cells of the Table View.

Clip Subviews

wilsontgh
  • 9,602
  • 1
  • 16
  • 12