Skip to content

Tag Archives: Development

Translucent navigationBar with a UITableView

When using a translucent navigation bar, the content of the table gets “below” it, to fix the problem use this line of code. tableview.contentInset = UIEdgeInsetsMake(navigationController.navigationBar.frame.size.height, 0,0,0); It’s almost like magic, now the content of the table will not be “below” the translucent navigation bar.