1

有人知道如何在 TTPhotoViewController 中重新加载数据吗?

我做了几次尝试,但从未找到合适的解决方案。

非常感谢您的帮助。

弗拉德

4

1 回答 1

1

TTPhotoViewController 最终派生自 TTModelViewController,因此您应该能够调用该reload方法。从 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;
于 2011-10-26T18:15:08.800 回答