I’ve UItableView in UIViewController and database connected to UItableVIew it loads data from sqlite3 database but its not Showing new content when i add new content to database until i relaunch the application. I tried below code
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.LengthTableFrom reloadData];
}
when you add new content at that after that get all data again and also add this line after get all data
i hope it will work fine..
🙂