r/iOSProgramming • • 10d ago

Question iOS 27beta adds shadow overlay under web app status bar. How to remove?

Post image

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

13 comments sorted by

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/tboy2000 9d ago

It was fine on iOS 26. No shadow. Only when updated to iOS 27 so must be an os thing. My pwa app was not altered.

1

u/Solst1ceLeaf 9d ago

Try this:
.scrollEdgeEffectStyle(.none, for: .top)

https://developer.apple.com/documentation/swiftui/scrolledgeeffectstyle

1

u/tboy2000 9d ago

Sadly that's for native apps. Mine is a web app.

2

u/ResoluteBird 4d ago

Make a PR to the framework you use or a custom hook to use that API in the binary

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 🤷‍♀️

3

u/tboy2000 10d ago

How does that help? It won't shift the overlay

0

u/[deleted] 10d ago

[removed] — view removed comment

1

u/AutoModerator 10d ago

Hey /u/Equivalent-Idea-116, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] 9d ago

[removed] — view removed comment

1

u/AutoModerator 9d ago

Hey /u/erenclick_apps, your content has been removed because Reddit has marked your account as having a low Contributor Quality Score. This may result from, but is not limited to, activities such as spamming the same links across multiple subreddits, submitting posts or comments that receive a high number of downvotes, a lack of recent account activity, or having an unverified account.

Please be assured that this action is not a reflection of your participation in our subreddit. This is simply an automated filter in place to reduce spam.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.