NSFileCoordination with iTunes File Sharing
| Originator: | marcin.krzyzanowski | ||
| Number: | rdar://29847288 | Date Originated: | 03 Jan 2017 |
| Status: | Open | Resolved: | |
| Product: | iOS + iTunes | Product Version: | |
| Classification: | Reproducible: |
Summary: It's not possible to detect when a file copied to an app through iTunes is completely transferred rather than partially. To achieve this, please make the device coordinate its writes using the NSFileCoordinator/NSFilePresenter API. Steps to Reproduce: 1. Open the xcode project 2. Launch the app on a device (not simulator). This app is using NSFileCoordinator/Presenter to watch the Documents folder. 3. Use iTunes to transfer a file to the app Expected Results: registered NSFilePresenter should be notified about the change. Actual Results: Presenter is not notified. Version: iOS 10
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!