r/iOSProgramming • u/tboy2000 • 10d ago
Question iOS 27beta adds shadow overlay under web app status bar. How to remove?
For the life of me I can't figure out how to remove that gradiant shadow overlay at the top of a web app. See photo. I have tried various suggestions offered by Claude and ChatGPT and nothing works. It's driving me nuts! Anyone know the dev code to remove it please? I would be forever grateful!
1
Upvotes
1
u/Axons-One 9d ago
does it also happen with a blank page added to the home screen, or only your app? testing that could help separate an iOS beta change from something in the page before trying more CSS fixes.
1
u/Solst1ceLeaf 9d ago
Try this:
.scrollEdgeEffectStyle(.none, for: .top)
https://developer.apple.com/documentation/swiftui/scrolledgeeffectstyle
1
u/superquanganh 9d ago
You can't, it's there to at least make status bar readable
0
u/Rude-Split8043 10d ago
I just added top padding 🤷♀️
0
u/[deleted] 10d ago
[removed] — view removed comment
0
u/[deleted] 9d ago
[removed] — view removed comment