HomePhabricator

[Cashtab] IOS: play nicely with the notification bar

Description

[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

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D18804

Details

Provenance
FabienAuthored on Mon, Oct 20, 08:32
FabienPushed on Mon, Oct 20, 11:43
Reviewer
Restricted Project
Differential Revision
D18804: [Cashtab] IOS: play nicely with the notification bar
Parents
rABC61bdeabfed87: [Cashtab] Initial ios support
Branches
Unknown
Tags
Unknown