Added: 2 years ago
From: iPhoneSDKtutor
Views: 3,502
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (17)

Sign In or Sign Up now to post a comment!
  • "Great ,Help Appreciated!"

  • For anyone who is receiving the member error you will need to change

    - (void)accelerometer:(UIAcceler­ometer *)accelerometer didAccelerate:(UIAccelerometer *)acceleration

    to

    - (void)accelerometer:(UIAcceler­ometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration

    its need to UIAcceleration rather than UIAccelerometer here, hope this helps

  • sorry ignore the spaces between UIAccelerometer, they shouldn't be there

  • Very nice tutorial.

  • woah some competition there

  • so if i wanted it to go to a different screen when I shake it...what would be the code for it!!!!?!!?!

    PLEASE REPLY!!!

  • i get these same errors too.. error:request for member 'x' in something not a structure or union

    error:request for member 'y' in something not a structure or union

    error:request for member 'z' in something not a structure or union

    why is this?

  • @jklzslc its the axes you can shake your device in...

  • It probably only works for version 3.0 coz that's wat he's using.

  • This made my day!

  • got a few errors.

  • i get an error:

    error:request for member 'x' in something not a structure or union

    error:request for member 'y' in something not a structure or union

    error:request for member 'z' in something not a structure or union

    how can i fix that

  • I also got that error when i tried to make an image bounce around on the screen.... but he will probably help you:)

  • Great Video !

  • ya same

  • wow this just showed up in my sub bar

  • same

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