Re: Identifying a connected iPod in C or Obj-C
Re: Identifying a connected iPod in C or Obj-C
- Subject: Re: Identifying a connected iPod in C or Obj-C
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 25 Jul 2004 17:31:58 +0100
On 25 Jul 2004, at 16:44, Shawn Erickson wrote:
There is apparently a way (based how iPods work with iTunes) to
identify that a connected device is an iPod versus a standard hard
drive. Does anyone know if this is something magical or if it is just
checking for the hidden directories? If it is "magical", would anyone
happen to know how it's done?
Well a few different ways exits. If the iPod gets mounted you can find
its file system via normal means.
The standard way people use is to register for mount notifications and
look for "iPod_Control". Apple has a private API which may well be
doing more than this, iPod.framework, but unfortunately it's private.
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.