skip to Main Content

Ios swift – How to configure button via UIButton.Configuration with custom SFSymbol?

I create my button: private let sortButton: UIButton = { let buttonConfig = UIButton.Configuration.plain() let button = UIButton(configuration: buttonConfig) button.tintColor = R.color.controlSecondaryTypo() button.showsMenuAsPrimaryAction = true button.changesSelectionAsPrimaryAction = true return button }() Next I add the menu: private func setupButton() {…

VIEW QUESTION
Back To Top
Search