Seeking some input from my fellow iOS devs...

Background:
https://issues.apache.org/jira/browse/CB-4825
UIAccelerometer has been deprecated as of iOS 5 in favor of using CoreMotion 
framework.
Our iOS core Accelerometer plugin uses UIAccelerometer and Xcode 5 shows 
warnings for using the deprecated class.

Issue:
I have a working implementation using CoreMotion but iOS 7 repeatedly issues an 
annoying debug message in Xcode when accelerometer is being watched.  A 
workaround is discussed here by shimming stderr->_write to ignore the message.
https://devforums.apple.com/message/866900#866900

What to do?  I see 3 choices:
1) Leave current code as is with warnings in Xcode 5.  Switch to CoreMotion 
when Apple fixes bug.
2) Implement with CoreMotion as is with debug message present.
3) Implement with CoreMotion with stderr->_write workaround.

Any preferences on the above options?  Suggestions?

-James Jong

Reply via email to