[英]iOS:How to listen to the change of photos and albums changes
有沒有辦法聽聽ipad的照片和相冊的變化? 類似於NSNotification
。 我曾經使用“ ALAssetLibraryChangedNotification
”,但發現它不適用於收聽照片更改。
有什么幫助嗎? 提前致謝!
您應該在appDelegate中使用它: registerChangeObserver:
此處提到了整個過程:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.