UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

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

5      

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.

13      

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

3      

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

3      

@AE542  

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.

3      

Thanks for solution. Same problem here :-)

3      

Thanks for the input guys, this fixed my issue

this site is amazing !

3      

Thank you so much! :)

2      

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

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

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

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.