Зарегистрируйтесь сейчас для лучшей персонализированной цитаты!

Apple's WatchOS 10 gets new APIs and designs to build next-gen watch apps

27 июня 2023 г Hi-network.com

New features in Apple's WatchOS 10.

Apple

Apple's WatchOS 10, the latest software that will power Apple Watch, will be available to the public this fall. Along with new features such as redesigned apps to use the entire display, a new Smart Stack with glanceable widgets, and Workout Mirroring on the iPhone, Apple has released a flurry of new APIs in the WatchOS 10 SDK to help developers tap into the new capabilities announced at WWDC 2023.

Also:Apple revamps WatchOS with widgets, new fitness and health features, and more 

spoke with Apple to learn how this new set of Apple Watch APIs will help developers build the next generation of Apple Watch apps.

"We're really excited about what we announced in WatchOS 10 will mean for developers," Eric Charles, Apple Watch product marketing, told . "What we're seeing is more space for content and more glanceability so that Apple Watch is really easy to use... and can show complex information in a really simplified manner."

New Apple Watch APIs

Apple announced a series of new APIs for WatchOS 10, including: 

  • Workout Mirroring API-- Shows progress from the Workouts app in a live widget on the iPhone
  • Custom Workouts API-- Allows third-party apps such as Training Peaks to add routines into the Workouts app for the first time
  • High Frequency Motion API-- Takes advantage of the new advanced sensors in the Apple Watch Series 8 to track metrics to help improve a golf or tennis swing, for example
  • Cycling Metrics API-- Can now connect to Bluetooth-enabled bikes and sensors to provide much more advanced training data to cyclists

These are optimized for augmenting an exercise routine, but developers can use each API for any purpose they can imagine within any Apple Watch app.

WatchOS developers use HealthKit as a central place to store health and fitness data for their apps. Developers could always write code in HealthKit, but now Apple says developers can access new data and upgrades to SwiftUI, such as vertical pagination and navigation split view.

Developers who already write code in SwiftUI have an advantage, as their apps will be automatically updated when rebuilt with the WatchOS 10 SDK. Developers can easily share code between iOS and WatchOS, which is a productivity bonus.

New design for Apple Watch apps

WatchOS 10 apps will have a new look and feel to encourage improved glanceability for Apple Watch. Apple says almost every app in WatchOS 10 will be redesigned to utilize the entire Apple Watch display to make information more quickly accessible.

One of the biggest interface changes is that when you turn Apple Watch's digital crown, you now access the Smart Stack, where widgets appear -- up to 10 of them. A new design element of WatchOS 10 is that it encourages you to use the Digital Crown to avoid blocking the Watch display with your finger, allowing developers to convey pertinent information from their widget.

According to Apple, three new foundational app layouts will change how Watch users interact with apps: 

  • Dialworks best for ring-based applications, like workout routines and goal-meeting.
  • Infographicdisplays real-time infographics from apps like World Clock.
  • Listallows for quick viewing of text-based apps like Mail and Messages.

WatchOS 10 designs for app layouts.

Apple

Watch complications, where developers can display valuable data for users to glance at, will be backed by WidgetKit in WatchOS 10, so they can appear in more places. Developers can reuse most of the code for iPhone lock screen widgets for Apple Watch, according to Apple.

Also: Apple releases VisionOS SDK, developers can apply for Vision Pro hardware kit

Developers interested in creating WatchOS apps can join the Apple Developer Program for$99 a year to access the tools needed to develop, test, and distribute apps for the release of iOS 17, WatchOS 10, iPadOS 17, MacOS Sonoma, and VisionOS.

Apple

Unlock the best new features in iPhone 15, iOS 17, and Apple Watch with these tipsiOS 17: The most impactful new iPhone features are also the ones you'll notice the leastNew iPhone 15 models compared: iPhone 15 vs. Plus vs. Pro vs. Pro MaxOne subtle (but important) reason to buy the iPhone 15 Pro instead of the iPhone 14 Pro
  • Unlock the best new features in iPhone 15, iOS 17, and Apple Watch with these tips
  • iOS 17: The most impactful new iPhone features are also the ones you'll notice the least
  • New iPhone 15 models compared: iPhone 15 vs. Plus vs. Pro vs. Pro Max
  • One subtle (but important) reason to buy the iPhone 15 Pro instead of the iPhone 14 Pro

tag-icon Горячие метки: Технологии и оборудование - с собой?

Copyright © 2014-2024 Hi-Network.com | HAILIAN TECHNOLOGY CO., LIMITED | All Rights Reserved.