Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chrono1081

macrumors G3
Original poster
Jan 26, 2008
8,733
5,217
Isla Nublar
After coming up literally 50/50 on google and such I'm dying to know the answer to this question:

If I develop an iPhone application will it work on both the iPhone AND iPod touch?

I've been googling this question and I see both yes and no answers and when I look for books for iPod touch programming on amazon iPhone programming books pop up or "How to use your iPod touch" books. From my understanding they both purchase from the same app store. Can someone please tell me a definite answer to my above question?
 

nottooshabby

macrumors 6502
Jul 12, 2008
416
90
After coming up literally 50/50 on google and such I'm dying to know the answer to this question:

If I develop an iPhone application will it work on both the iPhone AND iPod touch?

I've been googling this question and I see both yes and no answers and when I look for books for iPod touch programming on amazon iPhone programming books pop up or "How to use your iPod touch" books. From my understanding they both purchase from the same app store. Can someone please tell me a definite answer to my above question?

YES. They run the same OS.
 

fishkorp

macrumors 68030
Apr 10, 2006
2,536
650
Ellicott City, MD
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/3.1.1 Mobile/7A280f Safari/525.20)

Some apps won't work with first gen Touches, that's probably where the discrepancy is.
 

johnnyjibbs

macrumors 68030
Sep 18, 2003
2,964
122
London, UK
Also, bear in mind that the iPod touch has no camera, so be sure to check that the user is using an iPhone (via the UIDevice class) before using the UIImagePicker camera APIs.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.