Hello Folks,
I am very excited to get up to this point. However, I am having an issue with the background not fitting properly on the iPhone 11 simulator. There is an unsightly gap at the top. I even tried the same simulator shown on the tutorial but it looks different than my version of iPod touch (7th Generation). May be I am just missing something obvious but any advice would be greatly appreciated so I can continue my journey to CWC! Attached is screenshot if it helps in any way.
Very Respectfully,
Mario
Hi Mario,
The solution is to add the following modifier to the Image() like this:
Image("background")
.resizable() // <--- this will make all the difference
.aspectRatio(contentMode: .fill)