Skip to content

Can I use iLaunch to automatically know that the iOS device is connected/disconnected to my Mac?  #2

Description

@ezwardChou

Hi friend,
I am a macOS developer, and I am trying to implement this feature:

When the iPhone or iPad is connected or disconnected to the Mac, my App needs to receive a notification, and then display or remove it on NSView .

�I have made the following attempts:

  1. Disk Arbitration Framework - DARegisterDiskAppearedCallback & DARegisterDiskDisappearedCallback.
  2. NSWorkspaceDidMountNotification & NSWorkspaceDidUnmountNotification.
  3. ExternalAccessory Framework - EAAccessoryDidConnectNotification & EAAccessoryDidDisconnectNotification

Unfortunately, all three methods have failed.

So can I use iLaunch to implement this feature? Or do you have any other suggestions?

All the best.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions