         titleLabel.text = "EFQRCode\(version == "" ? "" : "\n\(version)")"
         titleLabel.numberOfLines = 0
         self.view.addSubview(titleLabel)
-        titleLabel.frame = CGRect(
-            x: 0, y: 0, width: screenSize.width, height: screenSize.height / 2.5
-        )
+        titleLabel.snp.makeConstraints {
+            (make) in
+            make.top.left.equalTo(0)
+            make.width.equalTo(self.view)
+            make.height.equalTo(self.view).dividedBy(2.5)
+        }
 
         let tableView = UITableView()
         tableView.bounces = false


    #if os(iOS)
    func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) {
        if 1 == indexPath.row {
            cell.separatorInset = UIEdgeInsets(top: 15, left: 0, bottom: 0, right: UIScreen.main.bounds.width)
        }
    }
    #endif

        tableView.tableHeaderView = UIView()
        tableView.tableFooterView = UIView()
        self.view.addSubview(tableView)
        tableView.snp.makeConstraints {
            (make) in
            make.left.equalTo(0)
            make.top.equalTo(titleLabel.snp.bottom)
            make.width.equalTo(self.view)
            make.height.equalTo(self.view).dividedBy(3)
        }

        let bottomLabel = UIButton(type: .system)
        bottomLabel.titleLabel?.font = UIFont.systemFont(ofSize: 16)
