Answer

Device detection for iPad is easy. Just call this function as shown below.
  1. +(BOOL) isPad
  2. {
  3.     return (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad);
  4. }