Create a tutorial for iOS developers on how to use the new hinge angle API in iPhone Duo devices. Include: 1) API introduction and basic usage, 2) sample code for detecting hinge angle changes, 3) UI adaptation examples for different angles, 4) best practices for hinge-aware app design, 5) potential use cases and creative applications. Present in Markdown format with clear code examples.