On Oct 2, 2009, at 2:30 PM, Anthony Smith wrote:

        if (device == IPOD_1G || device == IPOD_2G || device == UNKNOWN) {
[self setViewController:[[UIViewController alloc] initWithNibName:@"UnsupportedDeviceView" bundle:[NSBundle mainBundle]]];


This seems like a bit of brute force... what are you really trying to detect by looking at the device type?
--
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