Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active June 3, 2020 02:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardoso/628535f3838dbb477887f6c2e7cbf712 to your computer and use it in GitHub Desktop.
Save cardoso/628535f3838dbb477887f6c2e7cbf712 to your computer and use it in GitHub Desktop.
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