Easy way to toggle some settings on iPhone If you jailbreak iOS, there is an app that gives you quick access to toggle settings such as wifi, 3g, data, location... by just swiping the top bar.

Is there a similar solution without jailbreaking? an app or a setting?

I have iPhone 4S, iOS5
Yes if you run iOS 5.0 and not upgrading to iOS 5.1. 

For the majority of us, this means no since OS older than 5.0 don't have this and it was disabled at 5.1 and later. Who knows what the future may bring...



For historical purposes, here is how this worked on 5.0:

Apple apparently has silently added URL shortcuts for these sort of quick functions to iOS 5.0. Jeff Broderick (blog at http://brdrck.me/ ) has assembled a nice dashboard of these shortcuts with gorgeous icons to save the web clips to the home screen of your iOS device.

Simply browse your iOS device to http://brdrck.me/settings/ and pick from the many web clips that he has assembled. These are basically the same as taking a web site in the iPhone configuration utility and adding it to your home screen with a nice icon.

This could be something that was meant for testing or will get pulled according to some rumors about the latest 5.1 beta - but there's no way to know what will happen other than waiting until official documentation comes out or this change gets pulled / disabled.