TableView is not showing data?

I have place this question before on following link with code & screenshot.

TableView is not loading data?

  • Expandable Sections UITableView IndexPath SWIFT
  • Swift: TableView within Static UITableViewCell
  • showing action sheet in the custom cell in Swift
  • The best way to load, save and reload data
  • Using AutoLayout to stack within two Columns of varying Heights
  • start position of table view is wrong in simulator, and is not the same in storyboard
  • Now I came to know my tableview is loading data in tableview cell but not showing/displaying it. I have one Model View Controller in my project. The ModelView controller get called from Mapviewcontroller screen through Search Button. After resigning the Model view controller I can see the data in tableview. (It means when I move to next controller and back to previous tableview.. my tableview shows data in it.)

    Here I my data get visible in tableview only after resigning the modelview controller…..
    Everything works fine. I just want to know how should I display the tableview data as soon as web-service get called on first screen itself???

    2 Solutions Collect From Internet About “TableView is not showing data?”

    Put [_tableView reloadData]; at the end of the method that calls the web-service, or the one that populates the markers array.

    If you are manipulating table data in an asynchronous Block,
    pass a reference of the tableview to the method implementing the block, and remember to call

    [tableview reloadData]; 
    

    within the block, and not out outside