swiftui sf symbols size code example
Example 1: swiftui sf symbols
Image(systemName: "cloud.heavyrain.fill")
Example 2: how to increase size of sf symbol
.font(.system(size: 60)) // SF symbols behave similiar to fonts.
Example 3: swift sf symbol uiimage size
let largeConfig = UIImage.SymbolConfiguration(pointSize: 140, weight: .bold, scale: .large)
let largeBoldDoc = UIImage(systemName: "doc.circle.fill", withConfiguration: largeConfig)
button.setImage(largeBoldDoc, for: .normal)