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

Etherum on the Move...

Artwork by Steven Grundy What, more Crypto talk? Yes, sorry, more crypto talk, but I'll try to keep it short. Back on July 16th I said that I thought the bear market had ended that day and we were starting a new bull market. Only time will tell if I was right because we haven't had enough time to call it a bear market. But, in that time, Ethereum, the bellwether coin that we measure with, is already more than 50% from that date and 120%+ since June 16th (2022). There are a lot of coins that did better than that, but for a "safe" bet like Ethereum, that's a really nice move. But, it's not too late. Ethereum makes a change on September 26th that will dramatically improve it's capabilities. I think we are going to fairly quickly see ETH return it, and pass it's all time high of $4891.70, maybe even before the end of the year. Now there is always the chance that ETH, and all coins, will turn around and head back down for a test of the low of $876.54....

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 ...

Antiminer S7 Issues and Diagnostics steps

Note, the instructions below are how I diagnosed the problem I describe.  I'm providing it here in case these steps help you narrow down your issue somewhere along the way. I have an Antminer S7 (batch 8) unit that has been giving me problems.  It worked fine for a week or so then started slowing down.  I could hear the fan slowing down and speeding up and if I checked the web GUI of the unit I could see that “chains” 1 and 3 often had very cool temperatures, as if they weren’t even running. It would then try to get those engaged again and it would speed up and then the cycle would repeat.  Eventually, over time, I’d get a high piercing alarm sound and at that point if I checked the GUI I’d see Xs in the ASIC display instead of Os (image below). Above is how it was typically running.  After a while an alarm would sound and it would look like below: PSU: The first things I tried were to swap power supplies with a working unit.  It’s...