There is an app like interactive magazine and in my app I need to know user activity in ther other app. I am interested in things like whether user watched video, how much time did the user spend on which page. In my app, user's activity can seen in a detailed graphical way. The other app can give me any permission if required, but our Apple ID's not same.
Is this possible and how? Can you give me some references?
It is important to know that apps on the iPhone run in a sandbox in order to be secure. There are 2 ways to manage communication between apps. One way is to manage communication between apps through registered URL handlers. Here is an outline of how to set that up. The other way is to use peer-to-peer networking over Wi-Fi and Bluetooth. Here is an outline of the same, especially for iOS 7.0 or later.