how to call accelerometer from other class?

Discussion in 'iOS Programming' started by PizzaTray, Nov 1, 2009.

  1. PizzaTray macrumors newbie

    Oct 31, 2009
    I tried to put function from other class in the accelerate method:
    -(void) accelerometer:(UIAccelerometer *) acc didAccelerate:(UIAcceleration *) acceleration {
    	[monst accelMonster:acc didAccelMonster:acceleration];
    and the accelerometer not responding from some reason..
    any ideas?:cool:

    EDIT: fix it :) !

Share This Page