screenGetRefreshRate(screen:)

    Returns the current refresh rate of the specified screen. If screen is screenOfMainWindow (the default value), a screen with the main window will be used.

    DisplayServer.swift:3906
    static func screenGetRefreshRate(screen: Int32 = -1) -> Double

    To fallback to a default refresh rate if the method fails, try:

    Other members in extension

    Types

    Type members