有人知道如何在 TTPhotoViewController 中重新加载数据吗?
我做了几次尝试,但从未找到合适的解决方案。
非常感谢您的帮助。
弗拉德
有人知道如何在 TTPhotoViewController 中重新加载数据吗?
我做了几次尝试,但从未找到合适的解决方案。
非常感谢您的帮助。
弗拉德
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;