Questions tagged [reloaddata]

This tag covers reloadData methods on UITableView, UICollectionView and NSTableView in Apple's UIKit and AppKit frameworks. Do not use it outside the context of Apple frameworks.

Initially this was supposed to cover reloadData on UITableView on Objective-C, but by now it has also been used for all kinds of issues regarding reloading data.

Don't do this, let's leave this to UITableView.

678 questions
0
votes
2 answers

How to reload the data in UITableView in iPhone in the same view

I am developing an iPhone application, in a view, I have placed UITextView and UITableView in the same ViewController. What i need to do is, after entering the data in the textview, the user will click on a button placed below. After clicking on the…
jireh
  • 89
  • 1
  • 2
  • 11
0
votes
2 answers

UITableView reloadData not working in another class

I am having a problem with calling reloadData. I have 2 classes and I cannot update my table. my rootViewController.m: [self presentModalViewController:firstV animated:NO]; - (UITableViewCell *)tableView:(UITableView *)tableView…
sliwek
  • 3
  • 2
0
votes
1 answer

UITableView hangs for 5 seconds between heightForRowAtIndexPath and cellForRowAtIndexPath

I have an extremely weird behavior here. I'm using RSSKit to download and parse an XML-Feed. So far so good. That happens during a few milliseconds. After thats done I call reloadData on my TableView. Immediately thereafter the numberOfRowsInSection…
Jacque
  • 820
  • 1
  • 9
  • 15
0
votes
2 answers

ReloadData doesn't fire tableView:numberOfRowsInSection:

I just encouter a problem, that I call UITableView reloadData method, but nothing happened. No tableView:numberOfRowsInSection is called. The scenario is: Table works fine in view A (has the UITableView), then view B shows and hide, after this…
firer
  • 55
  • 1
  • 5
0
votes
1 answer

Reload UIViewController without going back to UITableView

I am developing a science game for the iPad that lets you choose a level and some questions about science elements are displayed and the user must choose the correct answer. I use a UITableview to display the "level select" screen and once the user…
Johan de Klerk
  • 2,515
  • 3
  • 25
  • 35
0
votes
1 answer

ios UITableView reloads data when scroll down to bottom rows

I've implemented a pull down to refresh that sits above my UITableView. However, UITableView also has a default setting where if you push up (to reveal rows at the bottom of the table), it also reloads the table data. Since I already have pull down…
user1467188
  • 617
  • 1
  • 10
  • 28
0
votes
1 answer

reloadData doesn't call cellforrowatindexpath

Maybe it's a similar beginning, but it's true. first of all sorry if this isn't formatted correctly, first time doing this. I've been using stackoverflow to find help for a long time now and it's been very helpful (thank you all), but this is the…
Philip
  • 3
  • 5
0
votes
4 answers

iOS TableView not reloading if current view is tableViewController

- (void)application:(UIApplication *)app didReceiveLocalNotification:(UILocalNotification *)notif { // Handle the notificaton when the app is running NSLog(@"Recieved Notification %@",notif); NSLog(@"local notifications count = %d",…
0
votes
2 answers

iOS - Very weird issue with tableView realodData

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UITableViewCell *cell = [self.tableView…
0
votes
3 answers

How do I access the UITableView to reloadData?

I'm moving my first stpes in iOS development. I have followed the first part of this tutorial to create a simple table. All fine, but now I would like to change the displayed data using the reloadData method of UITableView. I keep seeing that if I…
ticofab
  • 7,551
  • 13
  • 49
  • 90
0
votes
1 answer

UILabels NOT Updating

I have a UITableView that is being populated by core data. Now, when I click on a cell, it pushes me to another view where I can edit the data that is in that particular index, when I return, the system either crashes or else doesn't load the…
0
votes
0 answers

Tableview reload data not updating tableView

The else part of this works fine. But if itemFlag is true, I can't get the new information to display itself correctly after doing the alphabetic sort. Quitting the programme and restarting shows the new item to have been added successfully to the…
haarlequin
  • 23
  • 3
0
votes
2 answers

ReloadData in UIViewController

How can I refresh my views of UIViewController after I resize it? I need a method similar to reloadData in UITableViewController. Are there other possibility to resize views of UIViewController without reload? My code…
Davidin073
  • 991
  • 4
  • 12
  • 25
0
votes
1 answer

Adding table cell when last cell displayed. in ios

I set. When last cell displayed , add cell by threadProcess. -(void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath { int nArrayCount; nArrayCount=[self.mAppGameList…
SeoTaiJi
  • 141
  • 1
  • 9
0
votes
2 answers

UItableView reloadData does not set the cell display properties properly

I have a table view, and I am reloading its contents dynamically, for reloading the table contents I am using the following code: [agendaTable reloadSections:[NSIndexSet indexSetWithIndex:0] withRowAnimation:UITableViewRowAnimationFade]; This works…
Jyotirmoy
  • 710
  • 6
  • 12