Compute heights of TableViewCells automatically

This is necessary because different languages need different amounts of space. Especially text fields with some more text need to be variable in their heights.
This commit is contained in:
Danny Moesch 2019-02-17 19:01:08 +01:00 committed by Mingshen Sun
parent 73a015616a
commit 8351c16d75
7 changed files with 56 additions and 36 deletions

View file

@ -9,7 +9,7 @@
import UIKit
import passKit
class GitSSHKeyArmorSettingTableViewController: UITableViewController, UITextViewDelegate, QRScannerControllerDelegate {
class GitSSHKeyArmorSettingTableViewController: AutoCellHeightUITableViewController, UITextViewDelegate, QRScannerControllerDelegate {
@IBOutlet weak var armorPrivateKeyTextView: UITextView!
@IBOutlet weak var scanPrivateKeyCell: UITableViewCell!