一,昨天老高上課問我。
“忘了”。
tableViewHeader
func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
tableViewHeaderHeight
func tableView(tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
二,不會
textField 的 leftView
//左邊的搜索圖片
let imgView = UIImageView.createImageView("search1")
imgView.frame = CGRectMake(0, 0, 24, 24)
textField.leftView = imgView
textField.leftViewMode = .Always