kann mir bitte jemand sagen, wenn ich ein TableView in einem Popup-View setzen kann. Ich habe mit einer Funktion showStandardDialog von PopupDialog, hier einige Code genannt:TableView in einem Popup Swift
func showStandardDialog(a: String, b:String) {
// Prepare the popup
let title = "¡ INFORMACIÓN !"
let message = "this is " + a + "and this is " + b
// Create the dialog
let popup = PopupDialog(title: title, message: message, buttonAlignment: .horizontal, transitionStyle: .zoomIn, gestureDismissal: true) {
print("Completed")
}
// Create first button
let buttonOne = CancelButton(title: "CANCEL") {
}
// Create second button
let buttonTwo = DefaultButton(title: "OK") {
}
// Add buttons to dialog
popup.addButtons([buttonOne, buttonTwo])
// Present dialog
self.present(popup, animated: true, completion: nil)
}
Aber ich weiß nicht, wie ich diese gleiche Funktion und die Bibliothek verwenden, um eine Liste zu senden.
Vielen Dank an alle :)
Danke, ich werde es überprüfen;) –