Some time ago I pointed out an example showing how to make reflective metallic scrubbers like those found within the iOS music app.
Here’s a new control from Teehan Lax called TLTiltHighlightView that allows you to implement another interesting feature of the Music app’s interface.
Above and below the Music app’s scrubber there are two gradient keylines that adjust based on the tilt of the device.
Here are some images from TLTiltHighlightView’s example app showing the effect with the device flat, tilted left and right:
You can easily adjust the background and highlight colors.
You can find TLTiltHighlightView on Github here.
A nice subtle effect for augmenting interfaces.
- Open Source Control For Creating Custom Image Based Indicators For Ratings, Gauges, Progress And More
- Open Source: Source Code To Tilt Monster (Doodle Dash) Game Created With The Corona SDK
- Open Source: Slick Control For iOS That Makes An Interesting Progress Indicator
- Tutorial: Developing A Music Creation App
- Super Easy Way To Create Game Music (Videos)
Original article: Open Source iOS Control Providing Keylines That Adjust Based On Device Tilt Like The Music App
©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.