1

When trying to view a larger UITableView inside of a UIViewController in the storyboard, I can only see/edit the top most cells from the table. The moment I scroll further down the cells are all blank. This is purely for storyboard, the code works fine when running, but any cells in the storyboard that are further down a tableview I can no longer edit since they show as blank.

Here's an example to illustrate

As can be seen from the shift right click, I can't even select the cells that are there.

I know and have experienced problems such as not being able to scroll at all before, such as this, but this is different as I can scroll down but cannot see the rest of the cells of my tableview. Has anyone else ran into this problem, and would know a solution? It seems like it may have something to do with Xcode 7, as I recently upgraded to it.

Community
  • 1
  • 1
Flyte27
  • 53
  • 9
  • ok...so you are not able to see text & images when you are scrolling down. Right? Please check for autolayout constraint if have set earlier. If you adding imageView & label for text then please also check frame. I would suggest you to provide "CellForRowAtIndexPath" code that you wrote. – Gagan_iOS Nov 05 '15 at 18:26
  • Are there any views other than the tableview in your view controller's view? – Adeel Miraj Nov 05 '15 at 18:48
  • This is purely on the storyboard, so none of the code matters as far as I'm aware. The tableview was the only thing in the controller. – Flyte27 Nov 05 '15 at 19:11

1 Answers1

0

Although not ideal, I've found a few work arounds for this problem. One solution is to make a temporary UIViewController with a UITableView, and then drag cells into the temp UIViewController until the cell you want to edit is visible. Once you've changed it, drag all the cells in the temporary view controller back into their correct controller. This is extremely hacky, but so far is the only way I've found to visibly see the cell.

Another thing that can be done is that the cells are still editable in the document outline, meaning constraints and elements can still be modified from there. However, it is difficult, as I wasn't able to see the cells being edited, they still appear to be blank.

Hopefully someone else finds/knows of a solution to this and can post it, I'll leave these two workarounds up though they're far from ideal.

Flyte27
  • 53
  • 9
  • An easier way to edit is to drag the "blank" cells up into the viewable default portion, and close/re-open the project. I'm having the same problem and it's extremely frustrating. – Hayden Holligan Nov 26 '15 at 20:16