Last active
June 3, 2020 02:33
-
-
Save cardoso/628535f3838dbb477887f6c2e7cbf712 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 ConsultViewController { | |
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