How to identify iphone , ipad ,ipod touch, iphpne simulator while programming in 3.2 version ?

Posted by kmr on Stack Overflow See other posts from Stack Overflow or by kmr
Published on 2010-04-07T13:10:57Z Indexed on 2010/04/07 13:13 UTC
Read the original article Hit count: 166

Filed under:

Am unable to identify the device models (iphone , ipad ,ipod touch, iphpne simulator) while programming (in 3.2 version). Alreay am tried with UIDevice Class and some other means, but am unable to get model as ipad when connected to ipad. every time it is giving model other than ipad. So can any one please help me out. Thank you.

© Stack Overflow or respective owner

Related posts about iphone