我在我的 android 应用程序中使用 ContentObserver 来在拍摄照片时接收通知。显然 iOS 不使用意图系统,那么是否有等效或替代方法来执行此操作?如果可能,我宁愿不编写完整的相机应用程序。
最佳答案
这不太可能。即使是 iOS 上最新的具有即时上传功能的 Google+ 应用程序也不会在拍摄照片时收到通知,它只是在应用程序运行时检查 Assets 库,然后在操作系统超时之前尽可能长时间地在后台运行。
以下内容来自Google+ help关于此事:
Note: Photos and videos will upload while the Google+ application is open and for a brief period of time afterwards.
HTH
关于ios - 什么相当于 iOS 中的 ContentObserver?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11091636/