LoginSignup
5
5

More than 5 years have passed since last update.

swiftでtableViewの高さを変更する

Last updated at Posted at 2015-10-08

UITableView.rowHeightを使う

  myTableView = UITableView(frame: CGRect(x: 0, y: 0, width: self.view.frame.width, height: self.view.frame.height))
  myTableView.rowHeight = 200

これだけ。
swift 2.0
xcode 7.0.1

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5