Skip to content

Instantly share code, notes, and snippets.

@coquer
Created September 8, 2015 10:25
Show Gist options
  • Save coquer/875026e7fabda10b6f67 to your computer and use it in GitHub Desktop.
Save coquer/875026e7fabda10b6f67 to your computer and use it in GitHub Desktop.
Programmatically add margin to table view controller
override func viewDidLoad(){
super.viewDidLoad()
let isset: UIEdgeInsets = UIEdgeInsets(top: 75, left: 0, bottom: 0, right: 0)
self.tableView.contentInset = isset
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment