1

has anyone figured out how to reload data in TTPhotoViewController?

I have done several attempts but never worked out a suitable solution.

Your help is much appreciated.

Vlad

user1006117
  • 431
  • 4
  • 16

1 Answers1

1

TTPhotoViewController ultimately derives from TTModelViewController so you should be able to call the reload method. From TTModelViewController.h:

/**
 * Reloads data from the model.
 */
- (void)reload;

/**
 * Reloads data from the model if it has become out of date.
 */
- (void)reloadIfNeeded;

/**
 * Refreshes the model state and loads new data if necessary.
 */
- (void)refresh;
Robin Summerhill
  • 13,695
  • 3
  • 41
  • 37