Skip to main content

 If you've ever coded for multiple display types, especially the web and then iPhone screens, and  just for grins throw in some Android screens including a few "Tablets" just for fun.

My experience is you can pretty much just lump the Android screens in with your PC or MAC screens.  They tend to be a fairly common size and they are fairly well behaved. But when it comes to iOS screens, all bets are off.  

Is it a small phone, or a big iPad., Is it HD display or not.   What is the input method, touch, type, or Pen?  Each of these require a different level of precision. 

As I am writing the post today, we already have well over 10 pixel densities.  Common ones include 

  • ldpi
  • mdpi
  • hdpi
  • xhdp
  • xxhdpi
  • xxxhdpi
  • nodpi
  • tvdpi

To help with all of this, I found two great sources.  One does a great job of explaining iOS displays.




Nowadays, not just iOS displays but may Android displays as well.  The other does a great job of everything else. I checked out my little Pulse Oximeter device the other day and sure enough it had a double density display on it.  Who would have guessed?

This next one is a great source on display densities.

Pixel Density


It's almost impossible to be perfect with basically unlimited combinations, but I hope these helps a little.  They did for me.

Sources:

"Pixel Density, Demystified.  How pixel density works and hot it affects your designs". 
Published June, 9, 2016. URL: https://medium.com/@peternowell/pixel-density-demystified-a4db63ba2922

iOS Device Compatibility Reference. No Publishing Date. 

Author Unknown.  URL: https://developer.apple.com/library/archive/documentation/DeviceInformation/Reference/iOSDeviceCompatibility/Displays/Displays.html




Comments

Popular posts from this blog

Dride Zero - Dashcam on Steroids

I took part in a Kickstarter project to build "The ultimate Dashcam".  One with front and back cameras that would shoot in HD, was durable and low power, and would upload video clips to the cloud with the push of a button.  We'll after waiting more than a year, they did just that.  I received my Dride Zero a couple of days ago and, other than an initial rocky "Setup" process, it has been working fantastic. This post isn't so much to talk about the Dride, you can get that information from them at https://dride.io.   This is more for those people who might run into the same issues with Setup that I had.  Hopefully this will save them some of the time I wasted trying to figure it out. Dride Zero Getting Started 1) Unpack from the shipping box.   To get started all you need at first is the Dride Camera, the powercord that has the cigarette lighter connector, and a 16Gb type 10 Micro SD card. 2) Insert the 16Gb Micro SD card in the slot...

Troubleshooting a Discourse Update on DigitalOcean: Resolving Unresolvable Errors

For the past three years, I've maintained a Discourse server on a DigitalOcean Droplet. Recently, I decided to update it with some of the latest Discourse features. What I anticipated to be a straightforward update process turned into several days of frustrating setbacks. The version of Discourse I was running was already three years old, so I assumed that running the built-in "Update" feature would suffice. However, after clicking the update button, the progress bar sluggishly crawled forward over the next half hour, only to display the dreaded message: "Error – Update Failed." The logs provided little to no help, but based on my experience with other software updates via GIT, I suspected that the failure might be due to the repository head still being called "Master." In recent years, there has been a shift away from using "Master" as the repository head, with "Main" becoming the preferred term. Despite trying several methods ...

Ethereum Merge - So What?

Artwork by Steven Grundy The long awaited Ethereum "Merge" is finally upon us.  I've heard people say "So what".   So what?  I think they don't understand the implications of the merge.  Either that or they really are betting against Ethereum. I think this upgrade is probably the biggest thing for Ethereum since smart contracts first came out.  This change has the possibility of upsetting the apple cart in terms of Ethereum and BTC.  That's a big claim, but I really think it's possible. The Ethereum Merge has been set for the week of September 19th, 2022.  The merge is when the Ethereum execution layer will be joined with the new proof of stake consensus layer.  What does that mean and why should I care? What it means is that Ethereum will be changing from an energy intensive Crypto coin like all others to a 99% more efficient crypto coin like only a few have done.  Right now Ethereum is mined just like BTC and a host of other Crypto cur...