NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

Project 10

Forums > 100 Days of Swift

On day 42, I have followed this properly but when I run my "Label" doesn't even show like his, I dont know why it isnt working. Everything is the same! I have to change the background colour to see the cells, and even at that they are small, they are 6 cells on a row where as in his it's 2 in a row, potrait mode


Okay so I found the problem, on main.storyboard, go on your collection view object and go to it's size inspector. Make sure the estimated size is not automatic but none.


Had the same issue! Another reason why to never use Storyboards again, really starting to hate it.


thanks @K-Aje108 , just spent my dinner time trying to figure this out 😭



Thanks for this solution! Was having the same problem. But as you said selecting the collection view in the storyboard and changing the estimate size from automatic to none solved it.


Thanks for solution. Same problem here :-)


Hacking with Swift is sponsored by RevenueCat

SPONSORED Building and maintaining in-app subscription infrastructure is hard. Luckily there's a better way. With RevenueCat, you can implement subscriptions for your app in hours, not months, so you can get back to building your app.

Try it for free

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.