Device Orientation Issue

Hi,

I am trying to make a camera move based on the data that has been received from the iPhone accelerometer. This works well for me when the device orientation is FaceUp. The camera moves where I want it to, in both the x and y axis. However, this becomes a problem when the device orientation is changed. If the device orientation switches to LandscapeRight, the accelerometer data does not respond in the same way, requiring the device to be turned in different ways to achieve the same effect. Because it is a book I am working on, I need to be able to view it from different orientations. Any help would be appreciated.

I think your question might be answered here: accelerometer script but used while device in landscape mode? - Unity Answers