kingslay / KSPlayer

A video player for iOS、macOS、tvOS、visionOS , based on AVPlayer and FFmpeg, support the horizontal, vertical screen. support adjust volume, brightness and seek by slide, support subtitles.
GNU General Public License v3.0
868 stars 182 forks source link

[Fix] Add availability checks #754

Closed ianmagallan closed 3 months ago

ianmagallan commented 3 months ago

In my previous PR, I forgot to build the project for macOS and iOS, which failed on compile because I forgot to use availability checks and compiler flags for .glassBackgroundEffect() accordingly

ianmagallan commented 3 months ago

@kingslay Abandoned because I saw that you already pushed the fix to main :)