Reveal color of iDevice casing?

In order to better color an app to a user's iphone model is there a way to find out what color iDevice they are using my app on?


e.g. if they had a Product Red iPhone then I would like to have the same for the interface so that it matched.

Replies

Original idea.


I don't think you can get this information from API. In addition, what if user has added an external casing ?


I would suggest a workaround : ask user in Preferences to select the color of his/her device. There are not a large number, so that would be easy ; and save in UserDefaults.

Not my idea: https://dribbble.com/shots/4511814-Traveler-App?1524563451


I understand that blacks on OLED screens are now similar to that of the case, however I'm not sure about whites. But the idea of a seamless interface would be the goal.

Not my idea …

Indeed. This is a surprising old request (back when iMacs came in fabulous colours, the only way to determine the case colour was the undocumented

'yum '
Gestalt selector). Alas we seem to have made no progress here, and there’s still no supported way to get the case colour. Feel free to file an enhancement request for that, but in the meantime I think Claude31’s suggestion of a preference is the right way forward.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Sounds like you've been working there too long 🙂


Although black is black with OLED, an unused pixel is cheating my opinion - how true to white are the whites on the OLED iPhone display, say if you have a white case?


Thanks!

Nice shot. But… It helps understand what you are looking for.


It is more ythe color of the border (black or white) than the color of the case, right?


But looks like a nice photoshoped image (it is called concept). In reality, on the devices (which are not iPhoneX), we do not see the small black border of the screen. So, you'll not get the seamless effect shown on the concept image.


See h ttps://www.imore.com/how-use-display-accommodations-and-color-filters-iphone-and-ipad


Anyway, things are even simpler : ask black or white and you have the answer you look for, isn't it ? And it's up to you to find the exact good white… 😉

- Ask the user

- Do a device-selfie in the mirror and let your app sniff the image and morph-to-match - supports 3rd party cases, so, bonus

- Try an idiom that detects model - might be clumsy, and would need updates to match future designs, but hey...

I'm not sure what you mean, the black border on the iPhone is visible? I assumed that the off pixels were as black as the case's finish, so it would be the illuminated white pixels that measure of interruption between the two.

Those are the black pixels you can see on the image which I sent a link for.

how true to white are the whites on the OLED iPhone display, say if you have a white case?

Sorry, but colour matching is way outside of my area of expertise.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

I thought that was all about the different [colour blind] settings users innevitably configured, so that it would never match up with the case even if white pixels were as white as the case.