TTPhotoViewController data reload

143 views Asked by At

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

1

There are 1 answers

0
Robin Summerhill On

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;