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
Post a Comment