Deprecations: SF Symbol...

I built my app for iOS 13 and use the system images in my storyboard. With Xcode 12, I see these deprecation messages, even though my deployment target is 13.

Code Block
Main.storyboard: warning: Deprecations: SF Symbol ‘speaker.3.fill’ is deprecated, use ‘speaker.wave.3.fill’ instead.

If I address these warnings, will my app display the correct symbols on iOS 13?


Answered by RogerLee in 684086022

It seems the symbol still display correct image, but I did some extra work in my code like below

var theSymbol: UIImage
if #available(iOS 14, *) {
    theSymbol = UIImage(systemName: "arrow.triangle.2.circlepath")
} else {
    theSymbol = UIImage(systemName: "arrow.2.circlepath")
}
Accepted Answer

It seems the symbol still display correct image, but I did some extra work in my code like below

var theSymbol: UIImage
if #available(iOS 14, *) {
    theSymbol = UIImage(systemName: "arrow.triangle.2.circlepath")
} else {
    theSymbol = UIImage(systemName: "arrow.2.circlepath")
}
Deprecations: SF Symbol...
 
 
Q