ipad - iphone - Detecting what type of simulator -


How do I find out whether I am using an iPhone simulator or iPad simulator I use a third party library For which I have to pass the parameter whether I am using an iPad or IFile. To test the app, I want to know programmatically whether I am using an iPhone simulator or iPad simulator. Is there any way to recognize this?

Have you tried the [[[UIDevice currentDevice] model] PROFICKS: @ " IPad "]

Comments