News for hackers. Stuff that matters.
Re:iPhone X by jmull on Tuesday September 12, 2017 @04:00PM (#15231770)
I think it's good to leave that up to the app developer. They can choose to use the space around the notch or crop it.
Re:iPhone X by dweekly on Tuesday September 12, 2017 @06:08PM (#15233357)
Apple is asking devs not to crop it.

"Don't mask or call special attention to key display features. Don't attempt to hide the device's rounded corners, sensor housing, or indicator for accessing the Home screen by placing black bars at the top and bottom of the screen. Don't use visual adornments like brackets, bezels, shapes, or instructional text to call special attention to these areas either."

https://developer.apple.com/ios/human-interface-guidelines/o...

Re:iPhone X by geoelectric on Tuesday September 12, 2017 @06:25PM (#15233506)
Same guidelines also specify the safe area to put actual content, which excludes that area. In addition they suggest not hiding the status bar, which generally would push your content below it anyway.

> Inset essential content to prevent clipping. In general, content should be centered and symmetrically inset so it looks great in any orientation and isn't clipped by corners or the device's sensor housing, or obscured by the indicator for accessing the Home screen

...and...

> If your app currently hides the status bar, reconsider that decision on iPhone X. The display height on iPhone provides more vertical space for content than the displays of 4.7" iPhones, and the status bar occupies an area of the screen your app probably won't fully utilize.

[emphases mine]

My take is they don't want you putting a black background up there to mask it (unless all of your background is black, presumably) but you don't have to lay out around it either. For videos and photos in particular, since black is the normal background for outside the image I doubt there'll be an issue using it at the ends.

Re:iPhone X by fourneau on Tuesday September 12, 2017 @09:29PM (#15234727)
My take on this is that they're aiming to have people experiment with the two little areas rather than have everyone immediately "letterbox" it away. (Although to be honest it's a little baffling since I think it detracts from the phone, especially when playing games or watching videos).
Re:iPhone X by geoelectric on Wednesday September 13, 2017 @12:14PM (#15239698)
Probably, yeah. I think the proof will be in how they deal with HUD-less full screen games like Infinity Blade--will they expect an animated background to draw around the notch, will they be OK with a 16:9 crop to normalize between phones, or what?
Re:iPhone X by moduspol on Tuesday September 12, 2017 @06:23PM (#15233492)
That's one interpretation. Cropping video content doesn't necessarily fall into that, yet I can see how some other designs would and why they would want developers to avoid that. Besides, there's also:

> Be mindful of aspect ratio differences when reusing existing artwork. iPhone X has a different aspect ratio than 4.7" iPhones. As a result, full-screen 4.7" iPhone artwork appears cropped or letterboxed when displayed full-screen on iPhone X. Likewise, full-screen iPhone X artwork appears cropped or pillarboxed when displayed full-screen on a 4.7" iPhone. Make sure that important visual content remains in view on both display sizes.

Emphasis mine.

EDIT: Also here [1]:

> Adhere to the safe area and layout margins defined by UIKit. These layout guides ensure appropriate insetting based on the device and context. The safe area also prevents content from underlapping the status bar, navigation bar, toolbar, and tab bar. Standard system-provided views automatically adopt a safe area layout guide.

The diagram shown suggests a "safe area" even inset a little from the notch.

[1] https://developer.apple.com/ios/human-interface-guidelines/v...

Re:iPhone X by lxmcneill on Tuesday September 12, 2017 @06:34PM (#15233591)
I think they got their aspect ratio statement backwards. Surely 16:9 (iPhone 7) content appears pillarboxed on the 19.5:9 screen (iPhone X) and iPhone X content appears letterboxed on the iPhone 7?
Re:iPhone X by dlubarov on Tuesday September 12, 2017 @05:37PM (#15233062)
I imagine most developers won't want to design a tweaked layout specifically for the iPhone X. As a compromise, developers will probably just avoid putting important UI elements near the horizontal edges, similar to what console developers used to do to accommodate older TVs [1].

[1] https://en.wikipedia.org/wiki/Safe_area_(television)

Re:iPhone X by dperfect on Tuesday September 12, 2017 @05:20PM (#15232869)
It's not as significant as the notch, but the corners of the display area are also rounded off, so the screen has some fairly interesting effective geometry in terms of viewable pixels.

I wonder if the graphics and UI SDKs will have built-in functions to determine where these boundaries are (as they're likely to change in future models), or if developers will just be expected to work around them as best they can.

Re:iPhone X by ricketycricket on Tuesday September 12, 2017 @05:27PM (#15232954)