i have a project with 3 tabs, first tab have tableview with navigation, i insert data in my second tab to database, when i switch back to first tab, there is not changing,
i connect to sqlite on viewDidAppear part,and put my data in this part but there is not changing result.
thanks for help
i have a project with 3 tabs, first tab have tableview with navigation, i
Share
On viewDidAppear, after connecting with your database, you need to reload the table view. This will call all the table view data source functions again, such as cellForRowAtIndexPath.