user1006117
user1006117

Reputation: 431

TTPhotoViewController data reload

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

Upvotes: 1

Views: 134

Answers (1)

Robin Summerhill
Robin Summerhill

Reputation: 13675

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;

Upvotes: 1

Related Questions