Why is UIActivityViewController displaying auto constraint errors in console
问题 I am trying to implement the Share functionality using UIActivityViewController. Using Swift 5, Xcode 11.2.1, ios 13.2. I have used UITableViewController and in the rows's click I have called the share() method as shown below : class SettingsTableViewController: UITableViewController { var tableData = ["Share with friends"] // MARK: - Table view methods override func numberOfSections(in tableView: UITableView) -> Int { return 1 } override func tableView(_ tableView: UITableView,