dotnet / dotnet/macios

Bind Swift's WidgetCenter.reloadAllTimelines

Open
#21,466 0 comments 1 reaction 0 assignees View on GitHub
api-bindings enhancement
Dominant language
C#
Stars
2.9k
Forks
576
Avg merge
2d 12h
Merged PRs (30d)
123

Description

This is a suggestion to manually bind [WidgetKit.WidgetCenter.reloadAllTimelines()](https://developer.apple.com/documentation/widgetkit/widgetcenter/reloadalltimelines()) like we bound StoreKit.AppStore.requestReview: https://github.com/xamarin/xamarin-macios/commit/34d1fca7f6aa1e92d9954b5740806806527b3edf.

The exact Swift code to bind is

```swift
WidgetCenter.shared.reloadAllTimelines()
```

This should be fairly simple (most of https://github.com/xamarin/xamarin-macios/commit/34d1fca7f6aa1e92d9954b5740806806527b3edf is boiler plate code which it won't be necessary to duplicate).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.