ios - Taking into account navigation bar and tab tar when adding layout constraints in Xcode -


i have tableview in app, , in xcode added constraints start @ beginning , finish @ bottom of main view. however, navigation bar , tab bar hide beginning , footer of tableview.

do know need discount size of these bars tableview shows properly?

thank you.

added viewwillapper method:

//makes sure uitableview won't under tob/bottom bars     if([self respondstoselector:@selector(edgesforextendedlayout)]) {          [self setedgesforextendedlayout:uirectedgenone];      } 

Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -