Swift sections
Published in

Swift sections

What’s that ugly white space at the top of your “Designed for iPad” app when it runs on an M1 Mac?

It might be… the status bar! Here’s a small snippet to fix it for good.

Screenshots from a sample app that I’m working on (for some DlhSoft Ganttis framework updates that are to come soon!)

If you develop an iOS app and you run it on a Mac, you might see something like the first image above. Notice the white bar at the top. Indeed. It’s the empty-on-Mac iOS app status…




macOS and iOS programming stories

Recommended from Medium

Selecting the Right Cloud Platform for your Enterprise Application — Part 3 of 7

How to troubleshoot tricky issues

Can’t manage to have a merge conflict

A Database or a Search Engine?

Emacs window with the Rebol indexer’s code

Linux Tips And Tricks

Memcache Testing and Proxying

Zepp Health: Reinvigorating smart wearable data with StarRocks

Mapping using your own UAV imagery in Mapflow.ai

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sorin Dolha

Sorin Dolha

Software developer at DlhSoft • married • father of two • MacBook enthusiast • writing from Cluj

More from Medium

Apple’s Press Release Event?

Building the next generation of API management

Synology DS720+ NAS First Impressions

4 Cool Updates to Safari and Third-Party Browsers in iOS 15.4, iPadOS 15.4, and macOS 12.3