How to check if your app is running on an iPad or an iPhone

Here’s how we check that:

Alternatively you can check the same method for UIUserInterfaceIdiomPhone instead, which is returned when you’re on an iPhone or iPod touch.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.