Preparing Steel Sidekick for iPhone X

I just pushed an update of Steel Sidekick to the App Store to support the iPhone X screen resolution. The new “notch” for the camera was causing some issues.

iPhoneX-Before

I used the new safeAreaLayoutGuide on the UIView to determine where to display the fretboard.
if (@available(iOS 11.0, *)) {
  CGRect safeRect = [self.view.safeAreaLayoutGuide layoutFrame];
  left = safeRect.origin.x;
}

After trying a few different layouts I ultimately decided to move the fretboard into the safe area and extend the strings under the notch.
iPhoneX-After

If you have an iPhone X and download the latest version the notch should no longer hide the open string notes.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s