Thanks. Makes sense. Will do...

On Feb 9, 2010, at 4:05 PM, David Duncan wrote:

> There is, but it is just not recommended (you can test from UIDevice). 
> Generally the concept is "test for what you need" because you don't know what 
> the configuration will be. Two examples:
> 
> 1) Someone adds a GPS unit to an iPod Touch that provides Compass heading 
> information. Should you treat the device like an iPod or an iPhone?
> 
> 2) Should removes the Camera from an iPhone. Should you treat it as an iPod 
> or iPhone?
> 
> For this and many more reasons it makes a lot more sense to design your 
> application based on available capabilities rather than your perceived notion 
> of what is an iPhone vs iPod Touch.
> 
> On Feb 9, 2010, at 3:57 PM, MARC BLATT wrote:
> 
>> Thanks. So I guess the answer is there's no simple [self isiPhone] or [self 
>> device] call that would return a constant like the OS version. Having two 
>> different devices (soon to be three) on this OS, I believe it would be a 
>> useful cocoa method. Think it's worth submitting a feature request?
> 
> --
> David Duncan
> Apple DTS Animation and Printing
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to