Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Taylor Weeks
4,009 PointsAccessing iPhone's side (hard) buttons.
I am just starting a side project and I would like to be able to access the use of the physical buttons on the iPhone as part of my app. However, I can't seem to find any information on whether this is possible or how to do it. Could anyone help me with this?
1 Answer
Stephen Whitfield
16,771 PointsYou mean the volume buttons? How to use those buttons to trigger an action in your program?
Taylor Weeks
4,009 PointsTaylor Weeks
4,009 PointsYes, those as well as the home button and the top button if possible. And even a combination (e.g. the volume up and top button simultaneously).