Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 5.1 iOS 7.1 problems with cells at UITableView

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

like image 906
Max Tymchii Avatar asked Mar 13 '14 20:03

Max Tymchii


People also ask

What is a uitableviewcell?

The visual representation of a single row in a table view. A UITableViewCell object is a specialized type of view that manages the content of a single table row. You use cells primarily to organize and present your app’s custom content, but UITableViewCell provides some specific customizations to support table-related behaviors, including:

What are some common issues with Xcode 13?

My app at work is also experiencing issues with Xcode 13. UI glitches like constraint issues and tableview cell reuse issues. tableview cell reuse issues That is exactly what my issue would be too.

Why can't I run previous Xcode on my iPhone 15?

And it builds (on phone and simulator) in a way that different cells are mistakes for other cells when touched. Running the build from previous xcode on ios 15 phone does not do this.

How to reload data from uitableviewcontroller?

Were you using a UITableViewController? One of the few things it does is call reloadData () on the table view. Now you have to do it yourself. Place it after you assign the data source to the table view.


2 Answers

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;
like image 95
DragonScaleZ Avatar answered Oct 14 '22 06:10

DragonScaleZ


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

like image 32
wilsontgh Avatar answered Oct 14 '22 05:10

wilsontgh