iosstoryboardios-simulatoruivisualeffectview

Why is UIVisualEffectView not working on device


I'm trying to add a UIVisualEffectView to my project but it's not showing properly so I've created a basic test as below.. it appears to be fine in the storyboard and also the simulator but why does the effect view show as a grey rectangle on my iPhone 15 Pro?

Storyboard & Simulator

iPhone 15 Pro Device


Solution

  • It's because on your phone you've turned on Reduce Transparency.

    enter image description here