全新的 Widget 跟你想像的不一樣!使用者要聽、iOS 工程師要聽,設計師跟 PM 更要聽! 留言 { 完整節目筆記 https://weakself.dev/episodes/41) }
Is there any reload rate limitation exits in WidgetKit? Yes. For example, if you return one entry with timelineReloadPolicy.after, and you make the “after” date like 1 minute from now, 60 times in one hour, you will run out of reloads. ”You don’t wanna do anything crazy.” - @roczhang9673 )
畫面的限制:2x2、4x2、4x4 三種尺寸(相對於 app icons)
操作的限制:只能單點打開 app,不能滑動。2x2 還不能區分不同區塊要打開不同連結
效能上的優勢:利用 SwiftUI 的特性讓畫面可以在顯示的瞬間讀取並建構完成,而不像以前每個 widget 都要做大量即時運算
聽眾信箱 [email protected])
Twitter @weak_self)
提問箱)
-- Hosting provided by SoundOn)