0
ここに見られるように、私は間隔の問題のビットを持っています(私の悪い描画スキルすみません:\)テーブルビューヘッダーテキスト問題
誰がどのようにこの間隔の問題を修正する方法を教えてもらえますか?
override func tableView(tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
let headerText = UILabel()
headerText.textColor = UIColor.darkGrayColor()
switch section{
case 0:
headerText.textAlignment = .Right
headerText.text = "הבר המועדף עליכם חסר? שתפו אותנו ונוסיף"
case 1:
headerText.textAlignment = .Right
headerText.text = "יש לכם רעיון לשיפור האפליקציה? שתפו אותנו :)"
default:
headerText.textAlignment = .Right
headerText.text = ""
}
//Any Other Customizations
return headerText
}
}
ありがとう、私はすぐにそれを試します。 –