There are several questions about this on StackOverflow, but they all claim this isn't possible, that you can only do this by showing a custom Settings page in your app. However, the Nike+ app does exactly what I want, as seen here:
So, again, does anyone know how to achieve this?
That's not possible with the current Settings.bundle for 3rd party apps. Checkout Apple docs Settings Application Schema Reference for all available element types.