Xcode 7.1 - Prototype cells in storyboard not showing up
Asked Answered
C

2

7

I just updated to Xcode 7.1 and I noticed that all of the prototype cells in my storyboard tableviews are showing as blank and their elements are missing. Sometimes I can see the prototype cells at the top of the tableview, but when I scroll down to view the others all the cells appear blank and white again.

Has anybody else experienced this and is there a quick fix?

Catnip answered 23/10, 2015 at 21:28 Comment(9)
That sounds annoying (to say the least). Does the app run okay?Limber
Yeah that app runs fine, it's just the storyboard interface that's acting upCatnip
I would suggest taking some screen shots and filing a bug report with Apple. :(Limber
I have a similar issue with static tableviews that started today. For any cell that is outside of the simulated size when the storyboard loads, the elements don't become visible when I scroll the tableview. The elements are still there, just not visible. If I change the VC to a larger simulated size the problem remains consistent, meaning that new cells become visible, but not all. No problem when running the app, only in the storyboard.Latif
@Latif I'm running into the exact same issue. Have you found a work around?Tanka
@Latif I found a temporary workaround. If you download Xcode 6.4 this might unblock you. It worked for me. Feasibility of this solution depends on how much your application relies on iOS 9 features (mine doesn't). Xcode 6.4 has app signing issues if you need to upload to iTunesConnect, but there are workarounds for this.Tanka
I filed a bug report w/ Apple. Yeah I had to roll back to Xcode 7.0.1 to get the cells working again. Hopefully they fix this soon. Have noticed a huge dip in the quality of their software on iOS and OSX lately :/Catnip
Seems they fixed it in 7.1.1Shrovetide
Please drag edited table cell to up. Where it is visible. Repeat with other cells. Little trick )Pawpaw
S
4

Yes, I'm also experiencing this issue.

As a quick workaround, you can set the View Controller simulated size to Freeform, and make it big enough to accomodate all of your custom cells.

Select View Controller

Change its height

Changing it back to Fixed will revert it to the regular size.

Speechless answered 9/11, 2015 at 13:40 Comment(2)
I guess its not fixed. I am still experiencing the issue in 7.1.1Vasty
I'm still seeing it in 7.2 as well. This did help me work around it thoughAngkor
S
1

Selecting the Table View and selecting the 'size inspector' icon in the 'utilities' pane and ticking the checkbox 'Preserve SuperView Margins' in the 'view' section seems to reset it.

preserve superview margins

However it's not fixing the problem, it worked fine in previous versions and I agree with @matt to file a bug report with Apple

Edited: Seems they fixed it in 7.1.1

xcode 7.1.1

Shrovetide answered 9/11, 2015 at 15:55 Comment(3)
Seems they fixed it in 7.1.1Shrovetide
I updated XCode and the problems seems to be UNsolved.Zebrass
@Zebrass make sure you have 7.1.1 and restart xcode, for me it's working fine. The update also mentions the bug is solved.Shrovetide

© 2022 - 2024 — McMap. All rights reserved.