Works right out of the box, just download/clone and run. (You may want to add your own nice app icon though)
- Once launched simply choose which settings shortcuts you want to have added to your local notification centre.
- Hit save.
- No step 3. Shortcuts can now be accessed from anywhere by swiping down.
You may have to adjust the number of notifications that your device can show from within your device settings. Default is 5 and the maximum you can display is 10. I like to re-order the notifications so this app is at the top.
I had already localised the settings names for the original app into French, German, Italian and Spanish, so I've included them all in this project.
Note - The notifications won't keep appearing at the top of your screen when you set them and will be available until you clear them.
I've not yet upgraded to the latest 5.0 betas, but I'm told that these shortcuts will no longer work in future firmware releases.
I had submitted an enhancement request to allow notification centre to be used as a way to launch another application. Mine wasn't the first they had received, so please duplicate if you feel your app would benefit from this functionality. 10380471 is the original ID
Edit the plists to add your own custom URL's, tel, sms, etc. Once you've used notification centre for frequent actions, you won't go back.
My latest app, App Swipe, started out as the code you see here. Originally when iOS5 settings shortcuts were made available I wanted a simple way to use them on my device. The only way I found described on line was using bookmarks, or setting a custom homescreen icon with the data url. At first I didn't think that it would be a problem using notifications for shortcuts, its a natural fit for quickly adjusting brightness or toggling wifi/bluetooth and something I know Android users have had for a while and something been available in the jailbreak world for ever but unfortunately the app was rejected as the 'prefs' url scheme that is used to launch settings directly is a private url scheme.
I won't go into the whole 2 month process of getting App Swipe approved, suffice to say that local notifications are not a feature ;-)
I hope you find this project useful but I wouldn't recommend submitting to the AppStore :)
This app has a shortcut to App Swipe added on the main view controller, i'd be most grateful if you checked it out, or told your friends or Tweeted about it. Whilst not having local notifications it does allow custom shortcuts for mail, iMessage, Twitter etc and includes an interesting 'worldwide custom URL trends' feature which I hope will ultimately make more people aware of the cool things that custom URLs can do.
Happy swiping, Nik
Copyright (c) 2012 Burnsoft Ltd
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.