Swift 5.6 #unavailable API checking

Paulo Henri
Jun 2, 2022

--

Since Swift 2 it is possible checking API version through #available

A counterpart was added in Swift 5.6, #unavailable:

Running in iPod Touch 7th with iOS 15.5:

Is very simple.

--

--

Paulo Henri
Paulo Henri

Written by Paulo Henri

mobile developer, IOT enthusiast and Scrum master

Responses (1)