I develop ads and recently ran into an interesting problem. I am trying to create an ad that uses an iPhones gyroscope to move around a panoramic image as the user moved their phone. The ad I am making is inserted into an app as an HTML5 iframe. Everything works perfectly when the iframe is on a browser but in the iframe in the app the gyroscope and accelerometer seem to do nothing. I have access to MRAID and Admob methods but I am not sure of the best way to accomplish my goal. I have heard conflicting things such as iOS restricts the gyroscope data from ads but I don't think this is correct. If anyone has any experience working on this I would appreciate the help. Just trying to hook into the gyroscope from a web view.
Thank you.