[Solved] unrecognized selector sent to instance AdViewController [closed]

This method is deprecated in iOS5. You must build your project to target iOS 5 or earlier. http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAccelerometerDelegate_Protocol/DeprecationAppendix/AppendixADeprecatedAPI.html You must replace it with Core Motion functionality to move to a newer version of iOS. http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CMMotionManager_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40009670 2 solved unrecognized selector sent to instance AdViewController [closed]