Hmmm ... I am behind the times and trying to port over some old code to a new application and the accelerator delegation is deprecated. There must be a replacement. Please point me to the docs and get me jump started.
Asked
Active
Viewed 9,040 times
8
-
19You guys are ambiguous, vague and rhetorical for closing this question. It received a proper answer, so I don't understand your assessment. If your goal is to discourage questions -- it is working. – mobibob Feb 05 '13 at 02:26
-
1Mobibob is right, I don't ask questions on here anymore, people just down vote and complain, if you don't like it you don't have to read it. These questions are still helping people. – Xav Jul 29 '14 at 21:49
-
If the guys who closed this have difficulties to tell what is being asked they probably should take some Englisch lessons. It seems their goal is to discourage questions. Unacceptable! – Ronald Hofmann Sep 26 '14 at 13:01
1 Answers
12
The accelerometer was replaced by the Core Motion framework. Here are the docs: http://developer.apple.com/library/ios/#documentation/CoreMotion/Reference/CoreMotion_Reference/_index.html
You may also find this answer helpful: Why is accelerometer:didAccelerate: deprecated in IOS5?
-
Even when the question was closed. The answer is useful and I'm glad it exists. I really don't understand why it is closed. – jboi Nov 01 '14 at 18:18