ios - How to add constraints to TableView on TableViewController? -
i have tabbar, searchcontroller , tableview...
to fix problem black screen, added following string tableviewcontroller places searchcontroller on itself:
self.definespresentationcontext = true but, receive next problem - after move next controller , tableviewcontroller table placed below navigation bar.
how can fix that?
you can try in tableviewcontroller viewdidload method:
yourtableview.contentinset = uiedgeinsets(top: 50, left: 0, bottom: 0, right: 0) 
Comments
Post a Comment