Closed learnwithgabbar closed 8 months ago
just set showCircularIcon to false
let appearance = SCLAlertView.SCLAppearance( kTitleFont: UIFont(name: "HelveticaNeue", size: 20)!, kTextFont: UIFont(name: "HelveticaNeue", size: 14)!, kButtonFont: UIFont(name: "HelveticaNeue-Bold", size: 14)!, showCloseButton: false, showCircularIcon: false, contentViewCornerRadius: 15, buttonCornerRadius: 10 )
yep, @CHENG-LIANG1 is right, something like this:
let appearance = SCLAlertView.SCLAppearance( showCircularIcon: false ) SCLAlertView(appearance: appearance).showInfo("Hello")
just set showCircularIcon to false
let appearance = SCLAlertView.SCLAppearance( kTitleFont: UIFont(name: "HelveticaNeue", size: 20)!, kTextFont: UIFont(name: "HelveticaNeue", size: 14)!, kButtonFont: UIFont(name: "HelveticaNeue-Bold", size: 14)!, showCloseButton: false, showCircularIcon: false, contentViewCornerRadius: 15, buttonCornerRadius: 10 )