答案 0 :(得分:0)
let footerView = UIView(frame: CGRectMake(0, 0, tableView.frame.size.width, 20))
let aboutButton = UIButton(frame: CGRectMake(0, 0, 20, 20))
aboutButton.setTitle("About purchased items...", forState: UIControlState.Normal)
//Here you should set the proper autolayout constraint
footerView.addSubview(aboutButton)
tableView.tableFooterView = footerView