Get ppi of iPhone / iPad / iPod Touch at runtime

Viewed 18880

Anyone know if there's a way to get the screen density (ppi) of the device at runtime? It'd be nice to not have to hard code the different densities in case apple switches it up in the future...

2 Answers
Related