-
-
Save cardoso/3451d021ff63f3c2894a7f1d69d7262d 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 ClassViewController { | |
func setupViews() { | |
setupCallButton() | |
} | |
func setupCallButton() { | |
let button = UIBarButtonItem() | |
button.image = UIImage(systemName: "phone") | |
navigationItem.rightBarButtonItem = button | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment