From 1ed1b5df35d98045cf5b0ff9e3dd0768f09640fa Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Wed, 18 Nov 2020 13:45:20 +0800 Subject: [PATCH] write up edits --- Technotes/Widgets.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Technotes/Widgets.md b/Technotes/Widgets.md index 2c3ef4792..4ab09ed3d 100644 --- a/Technotes/Widgets.md +++ b/Technotes/Widgets.md @@ -19,7 +19,7 @@ The widget timeline is refreshed—via `WidgetCenter.shared.reloadAllTimelines() ## Deep Links The medium widgets support deep links for each of the articles that are surfaced. -If the user taps on an unread article in the unread widget, the widget opens the parent app with a deep link URL (see `WidgetDeepLink`), for example: `nnw://showunread?id={articeID}`. Once the app is opened, `scene(_ scene: UIScene, openURLContexts URLContexts: Set)` is called and is then determined what should be presented to the user. If there is no `id` parameter, the relevant smart feed controller is displayed. +If the user taps on an unread article in the unread widget, the widget opens the parent app with a deep link URL (see `WidgetDeepLink`), for example: `nnw://showunread?id={articeID}`. Once the app is opened, `scene(_ scene: UIScene, openURLContexts URLContexts: Set)` is called and it is then determined what should be presented to the user based on the URL. If there is no `id` parameter—the user has tapped on a small widget or a non-linked item in a medium widget—the relevant smart feed controller is displayed. ## Data Models