How do I turn off accelerometer input for my flipside view

Posted by user308050 on Stack Overflow See other posts from Stack Overflow or by user308050
Published on 2010-04-03T00:06:29Z Indexed on 2010/04/03 0:13 UTC
Read the original article Hit count: 631

I have an iPhone 3.1.3 app which has only 2 methods of input in its main view. It has an info button to switch to a flipside view, and the only other input it takes in the main view is accelerometer movement. I want to switch off the accelerometer input when in the flipside view but haven't been able to find out how. I have the main view controller set as an accelerometer delegate, but did not do the same for the flipside view controller, though I suspect that it inherited it from the main view controller. I am really new to xcode and objective c, I have been reading these forums and a couple of developer books, but if anyone has any tips on other good places to look, please let me know.

© Stack Overflow or respective owner

Related posts about iphone-sdk-3.0

Related posts about uiaccelerometer