Segue y Button programáticamente rápidos

Estoy usando iCarousel y tengo que crear mi propio botón. Quiero pasar datos del botón hecho mediante programación a otra vista, pero no tengo un identificador de segue porque creé el botón mediante programación. No sé si es posible crear el identificador del segue mediante programación.

button.addTarget(self, action: #selector(buttonAction3), for: .touchUpInside)
        button.setTitle("\(titulos[index])", for: .normal)
        tempView.addSubview(button)
        let myImage = UIImage(named: "modo4.png") as UIImage?
        button.setImage(myImage, for: .normal)

let viewController:UIViewController = UIStoryboard(name: "Main", bundle: nil).instantiateViewController(withIdentifier: "modo") as! Modo1ViewController
self.present(viewController, animated: false, completion: nil)

if segue.identifier == "" {
        if let destination = segue.destination as? Modo1ViewController {
            destination.nomb = nombres
        }

    }

Respuestas a la pregunta(2)

Su respuesta a la pregunta