Skip to content

Instantly share code, notes, and snippets.

@cardoso
Last active July 13, 2020 02:27
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/8332e7f47650aaa91bdd93cc829f804c to your computer and use it in GitHub Desktop.
Save cardoso/8332e7f47650aaa91bdd93cc829f804c to your computer and use it in GitHub Desktop.
import UIKit
extension RoomViewController {
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