1. Jack Hard's Avatar
    In my application objective c. How to detect if is an iphone or ipad or iPhone5 ?

    if([[UIDevice currentDevice]userInterfaceIdiom]==UIUserInterfaceIdiomPhone){
    //[iphone]
    }else{
    //[ipad]
    }
    11-09-2012 09:37 PM
  2. SweetSCBerry's Avatar
    In my application objective c. How to detect if is an iphone or ipad or iPhone5 ?

    if([[UIDevice currentDevice]userInterfaceIdiom]==UIUserInterfaceIdiomPhone){
    //[iphone]
    }else{
    //[ipad]
    }
    Picture please to define it.


    Sent from my iP5 using Tapatalk
    11-09-2012 09:38 PM

Similar Threads

  1. How to untethered jailbreak iPhone 4S and iPad 2 on iOS 5.0.1 & iOS 5.0
    By Cyder in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 150
    Last Post: 04-20-2012, 11:38 PM
  2. Replies: 1
    Last Post: 04-11-2012, 02:10 PM
  3. How to jailbreak iPhone 4S and iPad 2 on iOS 5.0 & 5.0.1 (Windows - CLI Method)
    By Allyson Kazmucha in forum Jailbreaking, Unlocking, Hacks, Themes & Mods
    Replies: 101
    Last Post: 02-27-2012, 07:37 PM
  4. which of these speakers for iphone 4s and ipad?
    By ECGcrackberry in forum Accessories
    Replies: 4
    Last Post: 11-04-2011, 09:21 AM
  5. FreeCell for iphone, ipod and ipad
    By shweta in forum iPhone Apps & Games
    Replies: 0
    Last Post: 05-12-2010, 02:47 AM
LINK TO POST COPIED TO CLIPBOARD