• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Message from iOS to watchOS
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Message from iOS to watchOS


  • Subject: Re: Message from iOS to watchOS
  • From: "J. Scott Tury" <email@hidden>
  • Date: Sat, 03 Dec 2016 12:48:46 -0500

Notifications for iOS will show on whatever device you are using currently.  If you’re not using one, it will show up on your watch.  If you’re using a iPad, it’ll show up on your iPad.  If you’r using your phone - it’ll show up there.

There is no API that sends a Notification to a particular device per se.

I would just send a notification:  Local or remote.  The behavior should be essentially the same.  Send the title and message in the notification.  You can add in any actions you would like your user to be able to have.

Scott

> Date: Sat, 03 Dec 2016 13:48:31 +0700
> From: "Gerriet M. Denkmann" <email@hidden <mailto:email@hidden>>
> To: cocoa-dev <email@hidden <mailto:email@hidden>>
> Subject: Message from iOS to watchOS
> Message-ID: <email@hidden <email@hidden">mailto:email@hidden>>
> Content-Type: text/plain; charset=us-ascii
>
> I have a pair of apps: iOS + watchOS.
>
> The iOS app would like (e.g. when the user taps a button) to send some (short) info to the watchOS app.
> The watchOS app probably should show something like a Notification Controller Scene:
> 	Message from iOS (title)
> 	Something was done	(body)
> 	Accept / Refuse	(buttons)
>
> I looked at UNUserNotificationCenter, but did not see any way to specify the recipient of the notification.
>
> And I am not interested in Push Notifications.
>
> Gerriet.
>
> P.S. This is my first watch app, so I am more than usual clueless.
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Message from iOS to watchOS
      • From: "Gerriet M. Denkmann" <email@hidden>
  • Prev by Date: Re: Migrating shared library plugins to Cocoa Touch Frameworks
  • Next by Date: Re: Documentation Workflow
  • Previous by thread: Message from iOS to watchOS
  • Next by thread: Re: Message from iOS to watchOS
  • Index(es):
    • Date
    • Thread