-
-
Save zontan/bfaf191528c4d860347b915625c34b73 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
@IBAction func didTapInvite(_ sender: Any) { | |
let storyboard = UIStoryboard(name: "JoinFriendViewController", bundle: nil) | |
let joinVC = storyboard.instantiateInitialViewController()! | |
// Use the popover presentation style for your view controller. | |
joinVC.modalPresentationStyle = .popover | |
if let joinFriendVC = joinVC as? JoinFriendViewController { | |
joinFriendVC.delegate = self | |
} | |
// Present the view controller. | |
self.present(joinVC, animated: true) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment