iphone - UIAccelerometer unrecognized selector sent to instance -


does get
-[uiaccelerometer bytes]: unrecognized selector sent instance 0x1a23f0

i init accelerometer:

uiaccelerometer *accel = [uiaccelerometer sharedaccelerometer]; accel.updateinterval = 1.0f/30.0f; accel.delegate = self; 

the reason asking on devices app works, , on others crashes. , not sure reason.

thanks!

this sounds if send accelerometer bytes message, doesn't implement. code show doesn't have problem, maybe search bytes , double-check usage.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -