Categories
Development Uncategorized

Making your iOS App embrace the iPhone X notch

After yesterdays announcement I decided I’d rebuild RxCalc with the iOS 11 SDK. I figured things would rebuild and my app would fully embrace the new iPhone X without change, but it didn’t work. When I built the app it ran in what I’d call letter boxed mode. The top and bottom were cropped. It was like running an older app on iOS 7, if you’ve ever seen that.

UGH! Why you letterboxed bro?
UGH! Why you letterboxed bro?

I was puzzled. I tried all kinds of jiggery-pokery and nothing worked. So I finally did what any self respecting lazy developer would do. I asked Twitter for help, and Jeff Johnson saved the day.

I was — quite honestly — surprised something so little could make it work, but darn it, you gotta trust the experts. I added a new launch screen at the recommended 1125×2436 size and it worked! Yippee!

Hey, that worked!
Hey, that worked!

So, thanks Jeff! Also, if you’re looking for a bonafide Mac and iOS Developer you should consider reaching out to Jeff — he’s available for work — and has a history of shipping great Mac and iOS Software.

And remember — EMBRACE THE NOTCH!

By Rob Fahrni

Husband / Father / Developer