Is sensor data shared between multiple apps?

Overview

I am using the CMMotionManager function to get the sensor data.

Now there are 2apps reading the sensor at the same time.

Question

  1. When I read the sensor, can other apps can read the sensor?

  2. Is the sensor data being distributed equally to the apps?

  3. Do the 2 apps have the exact same sensor data?

  4. How does the iOS sensor handle when there are multiple processes or apps reading the sensor? Will multiple processes or apps receive the exact same data?

  5. Is there a way to guarantee that the data read is unique.

I think it's probably shared; CLLocationManager data is, and I would expect the motion data to be handled in the same way.

Why do you ask? Are you trying to initialise a crypto key, or something?

I am trying to use the sensor data to initialize the key. I have read some documentation that describes that sensors can be used to initialize keys. I would like to create a demo to verify the data in the documentation.

I have verified in the Android platform that the attacker can get the same data. However, I don't understand the structure of the sensor in IOS. So, I want to understand how the sensor works or details for IOS platform. I have read Apple's development documentation and created an iOS project to read sensor data.

I guess it's not documented whether they get the same data, so you should probably be pessimistic and assume that they do, and so what you're doing is not secure.

Is sensor data shared between multiple apps?
 
 
Q