'set the value of Image to nil SwiftUI
I have set a condition to load an SFsymbol.
Image(systemname : isShowList ? "ellipsis" : "")
But I am getting a warning No symbol named ''
How can I set this to an empty value without warning?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|