Problem: WidgetKit workshop – Uncover


Take a look at this WidgetKit problem, will not you? With glanceable experiences coming to the Lock Display screen in iOS 16, it’s the right time to strive constructing your very personal Lock Display screen widget.

Start the problem

When you’re exploring glanceable applied sciences for the primary time, welcome! Earlier than we get began with the problem, take a look at “Problems and widgets: Reloaded” for an outline of the most recent updates to WidgetKit.

Problems and widgets: Reloaded

Our widgets code-along returns as we journey onto the watchOS and iOS Lock Display screen. Study concerning the newest enhancements to WidgetKit that assist energy advanced issues on watchOS and might help you create Lock Display screen widgets for iPhone. We’ll present you incorporate the most recent SwiftUI views…

When you’re prepared to start, it’s time to look at your app: What components of it’d work as a widget? After you’ve recognized a side, discover configuration choices and the very best timeline to your mannequin.

If you have already got a Residence Display screen widget, you may as well discover reusing your SwiftUI code. Not each Residence Display screen widget is a superb candidate for a Lock Display screen widget, so contemplate totally different approaches to search out the best one to your app.

For further credit score: What occurs once you deploy your code to the Apple Watch? Have you ever discovered your self a lot of the method to an superior watchOS complication? Would you make any modifications to make your expertise really feel at house on Watch?

How will you remodel your Lock Display screen? Present us what you’ve made on Twitter with the hashtag #WWDC22Challenges, or share your work within the WidgetKit Examine Corridor. And if you would like to speak extra about WidgetKit, be a part of the staff at occasions all all through the week at WWDC22.

Discover #WWDC22Challenges on social media

Learn the WWDC22 Challenges Phrases and Situations



Leave a Comment