

They should be unique for that piece of content, be global so they work across all devices, and be stable enough to work for that content over time. In order for Quick Note links to work, there are a few properties the identifiers need to have. PersistentIdentifier is also used to identify app content in the system's Spotlight index, and webpageURL is also used for web fallback during Handoff. This property creates a great multitasking experience for apps that run on iPad. TargetContentIdentifier is also used during state restoration. Which ones you choose depends on what other features you want to support. To be part of this ecosystem, you must set one or more of these properties: targetContentIdentifier, persistentIdentifier, and webpageURL. NSUserActivity already has three properties that serve as durable identifiers for linking app content with Quick Note. This is how the link shows up in the add link menu and what triggers Quick Note Suggestions. In addition to going to Handoff, Spotlight, and Reminders, registered activities are also sent to Quick Note.

Quick Note linking piggybacks on this system. The system then gets these activities and sends them out out to features like Handoff. User activity objects are created about what is happening, such as viewing a web page or viewing app content, and each app will register its current activity with the system. An NSUserActivity object provides a way to capture the state of an app and put it to use later. Now that you've met Quick Note, let's talk about how it works. When I click on it, I'll be directed to the note in the Notes app. When I visit the link about Apple Fitness+, the Quick Note Suggestions UI will also appear here on my Mac. I've created a note here on an iPad, but it also works cross-platform with the Mac.

Tapping on this will bring me right back to where I was, and I'll add a note that my goal is to do a HIIT workout 4 to 5 times a week. When I go to the site about Apple Fitness+, the Quick Note Suggestions UI will show up in the bottom right-hand corner. Sure, tapping on them will take me to Safari or Maps, but now I can get back to my note from these apps with Quick Note Suggestions. The links I've added here aren't just any old links. Here, I'll take advantage of the ability to draw over images and links. I'll pull out my note that I tucked away and add this location to my note, too.įor more room to draw, tap the Notes icon from the Quick Note toolbar to get to the note in the Notes app. Using Maps, I was able to find a great spot to practice my HIIT workouts. In addition to websites, of course, it also works with apps. but I still have some stuff I need to add, so I'll swipe the UI to the right to tuck it away on the side of the screen. If I'm finished with my note, I can press the Done button in top left corner. I can also pinch to scale the window from the default size, to the smallest size, all the way up the largest size. Similar to picture-in-picture, the Quick Note window is able to freely move around to any corner of the device. There's also a new add link menu at the top of the Quick Note, where I'll add a link to the website to make it easy to navigate back to this content. Instead of having to switch to the Notes app, I'm now able to use my pencil to swipe up from the bottom right corner of the screen to create a brand-new Quick Note to remember that when I'm ready to start, the Apple website has all the information I need to know. I haven't signed up yet, and I don't want to without an action plan. To show you the new Quick Note feature, I'm going to step through my plan of action to get into shape using Apple Fitness+. Finally, I'll go over some best practices so you can create the best experience.
#APPLE WATCH TAKE A QUICK NOTE HOW TO#
I'll talk about the how it works on the system and how to adopt NSUserActivity. Today, I'll show you Quick Note live and in action. If that sounds familiar, it's because it's used for other features, like Handoff. This feature enables people to easily bring up a Note anywhere, and the best part is, it uses an API that already exists: NSUserActivity. Quick Note is a brand-new, system-wide note-taking experience aimed to not only streamline the ability to take notes on iOS and macOS, but to connect content from multiple apps and the web in one location. And today, I'm gonna show you how to adopt Quick Note. I'm an engineer on the Pencil and Paper team.
