开发者

ALAssetsLibraryChangedNotification notification

开发者 https://www.devze.com 2023-01-30 11:35 出处:网络
How to flush the cached assets library information after recieving the ALAssetsLibraryChangedNotification notification? I am not getting how to empty the cached assets library. I tried to release and

How to flush the cached assets library information after recieving the ALAssetsLibraryChangedNotification notification? I am not getting how to empty the cached assets library. I tried to release and recreate the library, but it is sti开发者_如何学编程ll giving the cached values only. Please help if anyone knows how to empty the cached values.

Thanks, Manjunath


  1. I use a NSMutableArray class to store the assets, it always is used as tableview's data source
  2. When you receive the notification, you need to reset the assets and call the tableview's reloaddate function
0

精彩评论

暂无评论...
验证码 换一张
取 消