Skip to content
项目

关于

展示使用 SwiftUI 和 WidgetKit 创建的不同类型小组件的示例项目。

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Widget Examples logo

Build Language Release version License

Widget Examples

A demo project showing different types of Widgets created with SwiftUI and WidgetKit.

Table of Contents
  1. Basic widgets
  2. Intent widgets
  3. Unofficial widgets
  4. Installation
  5. License

Basic widgets

App Group Core Data Countdown Deep Link
App Group Widget Core Data Widget Countdown Widget Deep Link Widget
Digital Clock Live Activity Environment
Digital Clock Widget Live Activity Widget Environment Widget
Lock Screen Network Shared View SwiftData
Lock Screen Widget Network Widget Shared View Widget SwiftData Widget
URL Image
URL Image Widget

Intent widgets

The following widgets use Intents. Please refer to the documentation for a more detailed explanation.

Audio Playback Dynamic Intent Intent Interactive
Audio Playback Widget Dynamic Intent Widget Intent Widget Interactive Widget

Unofficial widgets

The folowing widgets use private API. Please bear in mind that they don't necessarily have to pass the Apple review process and you use them at your own risk.

Analog Clock
Analog Clock Widget

Installation

It is recommended to download the whole project to keep the configuration intact as some widgets depend on the App Group capability or integrate with the main App.

Versions

This project requires iOS 17.

You can also download releases for previous deployment targets:

License

Widget Examples project is available under the MIT license. See the LICENSE file for more info.

探索相关项目

加载中…