-
-
Save cardoso/25b05c84f80fc3e080c8434bae826866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
extension UserViewController { | |
func setupViews() { | |
view.backgroundColor = .systemBackground | |
setupSupportButton() | |
} | |
func setupSupportButton() { | |
supportButton.image = UIImage(systemName: "exclamationmark.bubble") | |
navigationItem.rightBarButtonItem = supportButton | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment