@available annotation forgotten in showsExpansionTextWhenTruncated

Our app has iOS deployment target as 13.

We have used showsExpansionTextWhenTruncated property and is available to iOS 15+.

Unfortunately we have used showsExpansionTextWhenTruncated property without if #available(iOS 15, *) and never was failed the build. However, there were many crashes because of that.

Should UIKit implement @avaiable in showsExpansionTextWhenTruncated property?

This is an error in the UIKit declaration. Its only declaring macCatalyst availability, which implies availability on other platforms as inheriting from its declaring class.

Please feel free to file a Feedback Request to have this fixed.

@available annotation forgotten in showsExpansionTextWhenTruncated
 
 
Q