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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -