如何:在Xcode 12上使用Widget延伸功能

如果您正在尋找在iOS 14上製作SwiftUI Widget的方法,這將會是最簡單的指南。

需時:約2分鐘

平台: Xcode 12 Beta 或以上

步驟:

Widget.swift (58 lines)

謝謝閱讀 :)

Developer, UI/UX Designer and 📽Photographer | Contact: hello@1998.media | Website: 1998.media

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store