It was a while, but the problem here was the iPhone simulator itself. As soon as I launched the application on the iOS device itself, everything worked fine, and there was a white shadow. Regardless, thank you for your advice, Bratt, I'm sure it will come in handy in a different situation.
source share