[feature request] CoreGraphics: implement CGDisplayMode / CGDisplayModeGetRefreshRate #9958
Labels
enhancement
The issue or pull request is an enhancement
good first issue
This is a good first issue for someone to start working with our code
macOS
Issues affecting Xamarin.Mac
missing-api-bindings
Milestone
It seems that CoreGraphics support is incomplete in Xamarin.Mac. Searching for
CGDisplayModeGetRefreshRate
in the github repo only gives me one hit:https://github.com/xamarin/xamarin-macios/blob/main/tests/xtro-sharpie/macOS-CoreGraphics.ignore:
!missing-pinvoke! CGDisplayModeGetRefreshRate is not bound
Background: I want to determine the screen refresh rate on MacOS via the Xamarin APIs. CoreGraphics has a function to accomplish that: CGDisplayModeGetRefreshRate. In Swift this is part of the class CGDisplayMode.
The text was updated successfully, but these errors were encountered: