Home » IOS » Find the name of the Device in IOS Application
IOS

Find the name of the Device in IOS Application

Find the name of the Device in IOS Application whether its iPhone4s, iPhone5s, iPad etc. Follow the steps to detect the device

Step 1 : Include the following header file in your viewController

Step 2 : Include the following function in your viewController

Step 3 : Place the following code in your file to get the device

Now ‘machineName’ variable will contain the name of the device

The list of strings for different devices as follows

About the author

Vipin

Hi, i am Vipin, a programmer working in Dubai, UAE. I love blogging, and so started TechRounder for sharing my findings and other digital informations with others too. Please feel free to share your feedback with me in the comment section below or you can email me at vipin@techrounder.com.

Add Comment

Click here to post a comment

Your email address will not be published. Required fields are marked *

Get latest updates
in your inbox

Subscribe to TechRounder mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.