Added: 2 years ago
From: OreillyMedia
Views: 14,359
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • xCode won't let x,y,zLabels and Bars be released. It says, release is unavailable: not available in automatic reference counting mode. ARC forbids explicit message send of release.

    What to do now?

  • @nxchannel you can't release them with ARC, so delete the intire dealloc. Xcode will release them automatically for you!

  • @minneiscool Thanks ;)

  • To all who will comment and commented that there are false values on the bars or the program is fake, the G force adds a downward acceleration to those supported by the iPhone that's handled by the man in the video

  • legit way to make extra cash online /watch?v=BMPhsRN19Ms

  • Great video! Thanks so much for posting.

  • How do I output the values obtained from the accelerometer to a text file?

  • there is a sign missing after %, but what sign is it?

  • Could you post this Line...isumulate give me no numbers back.

    xLabel.text = [NSString stringWithFormat:@"%" , acceleration.x];

  • @1beckenrandschwimmer

    it's "%f",not"%"....

  • would the accelerometer command work for the iphone 4 with the gyroscope too?

  • Comment removed

  • hello, i'm getting this message "no computers were found with a listening iSimulator-ready application"

  • thank you zed master.

  • Thank you so much !!!! This is exactly what I needed! Your videos are great, and keep them coming :D!

  • Add the code to the description please................Because am a Beginner in Accelerometer iPhone and i want to spend Time With myself because i want to learn it

    PLZ

    PLZ

    PLZ

    PLZ

  • Is it necessary to 1) set the UIAccelerometer's delegate to nil in the dealloc and 2) release the _accelerometer? You're using the "sharedAccelerometer", so you're never increasing the reference count, right?

  • EDUmobile. ORG offers a well structured iPhone Game Programming and Application Programming online course delivered via Online Video, Weekly Worksheets, PDFs and One-on-One help via direct email and Private Forum.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more