-
-
Save zontan/785904f51a30cc496c6dff6123427ebf 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 didTapAddFriend(_ sender: Any) { | |
let storyboard = UIStoryboard(name: "UserSearchViewController", bundle: nil) | |
let searchVC = storyboard.instantiateInitialViewController()! | |
// Use the popover presentation style for your view controller. | |
searchVC.modalPresentationStyle = .popover | |
// Present the view controller. | |
self.present(searchVC, animated: true) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment