Решил вопрос.
Добавил в классе XIB'a кнопку как @IBOutlet.
func mapView(_ mapView: MKMapView,
didSelect view: MKAnnotationView)
{
let button2 = UIButton(frame: calloutView.GotoProfileUsr.frame)
button2.addTarget(self, action: #selector(ViewController.ProfileInfo(sender:)), for: .touchUpInside)
calloutView.addSubview(button2)
}
И повесил обработчик.
func ProfileInfo(sender: UIButton){
performSegue(withIdentifier: "id", sender: self)
func prepareForSegue(segue: UIStoryboardSegue, sender: AnyObject?) {
let vc = segue.destination as? ProfileUsersViewController
}