I remember doing this around a year ago, but IIRC there wasn’t an easy way to
do this. I think I created a new extension with a complication and copy/pasted
stuff from the new target.
Saagar Jha
> On Mar 3, 2017, at 07:08, Eric E. Dolecki wrote:
>
> Everything I've seen
Everything I've seen shows adding the complication on project creation. How
does one go about adding it to a project later on? I have my watch app
right where I want it, but I didn't think I would need a complication.
Until today.
Thanks!
___
Cocoa-dev
watchOS 3
The watchApp has NotificationController ← WKUserNotificationInterfaceController
watchApp gets a Local Notification with one associated UNNotificationAction
with title = “Accept”
[NotificationController init]
[NotificationController didReceiveNotification:withCompletion
>> the lock screen.)
>>
>> Keep experimenting. :)
>
> I followed your wise advice and found out that Local Notifications are not
> delivered in these cases:
> • different Apps on same iOS Device
> • same App on different iOS Devices
> which means the only case
ing. :)
I followed your wise advice and found out that Local Notifications are not
delivered in these cases:
• different Apps on same iOS Device
• same App on different iOS Devices
which means the only case remaining is:
• some App sends a Local Notification to itself.
If this sending iOS
ficationRequestsWithCompletionHandler.
> It sets the categoryIdentifier of the sent UNNotificationContent to “my test
> category”.
>
> The receiving app (same iOS device) never sees anything. Although it does
> setNotificationCategories with a UNNotificationCategory with the same
> ca
setNotificationCategories with a UNNotificationCategory with the same category:
“my test category”.
This might indicate possibility “C”: local notifications are local to the
sending app.
Or it may just be a proof that I am doing it wrong.
>
> Communicate between watchOS, and iPhone:
To b
notifications.
https://developer.apple.com/reference/usernotifications/unnotificationrequest
You might want to spend a bit of time looking over the Apple documentation as
to what Notifications are, and how they work:
https://developer.apple.com/notifications/
Communicate between watchOS, and iPhone
> can add in any actions you would like your user to be able to have.
>
> Scott
One fundamental question: what does “local” in Local Notification mean?
A: “local” as in local Wlan
i.e. a local Notification gets sent to all iOS and watchOS devices in
the local Wlan
B:
; From: "Gerriet M. Denkmann" <gerri...@icloud.com <mailto:gerri...@icloud.com>>
> To: cocoa-dev <cocoa-dev@lists.apple.com <mailto:cocoa-dev@lists.apple.com>>
> Subject: Message from iOS to watchOS
> Message-ID: <2001a5e8-10f8-4b30-86c4-9dfee6198...@icl
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
11 matches
Mail list logo