Accelerometer & Calibration - iPhone SDK?

I made an app like this once. I'll post it here, but it's for iOS 4.

I made an app like this once. I'll post it here, but it's for iOS 4... localhostr.com/files/7ca39c/Tilter.zip To calibrate: int tapCount = 0; - (void)cancelDoubleTap { if (tapCount @interface TilterAppDelegate : NSObject { UIWindow *window; UIView *box; UISlider *slider; UIButton *but; } @property (nonatomic, retain) IBOutlet UIButton *but; @property (nonatomic, retain) IBOutlet UISlider *slider; @property (nonatomic, retain) IBOutlet UIView *box; @property (nonatomic, retain) IBOutlet UIWindow *window; @end Move code: - (void)moveBoxByX:(float)x byY:(float)y { float newX = box.center. X + x; float newY = box.center.

Y + y; if (newX 270) newX = 270; if (newY 430) newY = 430; box. Center = CGPointMake(newX, newY); } Should work most of the time.

2 THANKS! I'm a developer too, so I have the 4.0 firmware as well. I'll check it out!

– uhelios Jun 17 '10 at 19:46 You're welcome! – Guy Smith Jun 17 '10 at 19:48 1 This is perfect! THANK YOU SOO MUCH AGAIN!

– uhelios Jun 17 '10 at 19:56 2 Sorry can't give the bounty until 23 hrs later :(. But i'll make sure I give it to you! – uhelios Jun 17 '10 at 19:57 1 Very useful answer.

I would give you an up-vote, but I've reached my daily voting limit :( – robinjam Jun 17 '107 at 14:52.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions