Page MenuHomePhabricator

[Cashtab] IOS: play nicely with the notification bar
ClosedPublic

Authored by Fabien on Oct 20 2025, 08:34.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABC49020588ef74: [Cashtab] IOS: play nicely with the notification bar
Summary

On devices with a notch the app collides with the notification area. This is fixed by offsetting the content using the safe area values provided by iOS WebKit.
This leaves the notification bar with the default device theme which is ugly, so we also override the theme for this app to match Cashtab design.

Before:

Screenshot 2025-10-17 at 17.02.43.png (2×1 px, 186 KB)

After:

Screenshot 2025-10-20 at 10.05.26.png (2×1 px, 207 KB)

Test Plan
./start-ios.sh

Check it doesn't break anything on Android:

./start-android.sh

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab-ios-safe-area
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34813
Build 69088: Build Diffcashtab-tests
Build 69087: arc lint + arc unit

Event Timeline

Fabien requested review of this revision.Oct 20 2025, 08:34
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
The build failed due to an unexpected infrastructure outage. The administrators have been notified to investigate. Sorry for the inconvenience.
bytesofman added a subscriber: bytesofman.

I'm not able to test but this is similar to how it's done on android

This revision is now accepted and ready to land.Oct 20 2025, 11:39

confirmed the android build still works and still has good safe areas