Can I use @available on extensions of a class ? For ex:
@available(iOS 10.0, *)
extension UIUserNotificationType
{
// logic goes here
}
Using @available on extensions of a class
Add a Comment
Can I use @available on extensions of a class ? For ex:
@available(iOS 10.0, *)
extension UIUserNotificationType
{
// logic goes here
}
Did you just try ? AFAICT, it works as intended.