I have seen some year old posts with similar issues, some claimed XCode 11 fixed it. I\'m running XCode 12.3.
In a nutshell, this code works fine:
view.backgro