Post

Replies

Boosts

Views

Activity

Reply to Cannot find 'WidgetCenter' in scope
I fixed my question by doing this @available(iOS 14, *)     @objc public func reloadAllWidget() {         #if arch(arm64) arch(i386) arch(x86_64)         WidgetCenter.shared.reloadAllTimelines()         #endif     } But I wonder is this arch limit should developer to know and use?
Topic: App & System Services SubTopic: General Tags:
Aug ’20