Can the iPhone application run in the background transfer data via USB?

There are 2 applications for the iPhone. One application runs in the foreground and the other runs in the background. Is there a way to get a background application to send data via USB without going to the fore? Ideally, we want to keep the priority application in the foreground, while the background application processes some data. Once the data has been processed, it will inform the front application that the data has been processed.

+3
source share
3 answers

No, he can not. This is not possible even without using private frameworks if you are not in the Made for iPhone program. If so, then your organization will know, based on the documentation provided to you, what you can and cannot access, when and how.

If you are in the “Made for iPhone” program and do not know what you have access to and when, contact the person in your organization who is the technical contact with Apple for this program, they will be able to give you details.

+2
source

If the task is started when the application is in the foreground, and you call the appropriate beginBackgroundTask / endBackgroundTask methods, you should be able to continue working after the application is re-installed.

, USB (. jer) . , App Store, , Apple , , . , , .

0

, , . , " , MyApp MyApp ".

, , Wi-Fi. iPhone - ( " " OS 3.2), iPhone , .

, :

  • - Bluetooth GameKit . , . , , IP Bluetooth PAN - Bluetooth.
  • Audio input / output, for example. headphone jack or specific pins on the dock connector. I'm not quite sure how the microphone works (the resistance was a bit high for a carbon microphone when I tested), but you may be lucky and find a way to turn it into a “line” or find a “line”, the contacts on the dock connector.
  • A webcam pointing to the iDevice screen (and an iDevice camera pointing to the computer screen). Ewwwww.
  • Join the MFi program.
0
source

Source: https://habr.com/ru/post/1776567/


All Articles