title: how to know is it iphone or ipad?
body: <p>i want to know the user uses the iphone or ipad,if the user uses the iphone i want to open the camera,if he uses the ipad or runs in simulator i want to open the library. how it is possible? 
  how to find the details of devices?
  how to know current using device by user through xcode?</p>