enormego / PhotoViewer

Quick PhotoViewer for the iPhone. Built upon our other reliable libraries: EGOImageLoading and EGOCache.
http://developers.enormego.com
660 stars 145 forks source link

info.plist settings to run on ipod touch #9

Closed brynjar closed 13 years ago

brynjar commented 13 years ago

Hi, it seems that in order for universal apps to build for iphone, ipod touch and ipad you need the following info.plist settings:

Main nib file base name -> MainWindow-iphone Main nib file base name (ipad) -> MainWindow-ipad

Using

Main nib file base name (iphone) -> MainWindow-iphone Main nib file base name (ipad) -> MainWindow-ipad

doesn't allow the app to run properly on ipod touch...

devindoty commented 13 years ago

The base nib name should be MainWindow, as iPhone and iPod are considered the same. iPad nib should be MainWindow-ipad.

brynjar commented 13 years ago

Sorry, what I meant specifically was that in the PhotoViewer code I downloaded yesterday, the sample project info.plist is setup such that it won't work on ipod touch - but the changes I list above fix it.

devindoty commented 13 years ago

Ah OK, thanks!