Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make Notification Center Widgets (iOS 5)

iOS 5 introduced Notification Center Widgets and I would like to experiment with those widgets and make custom ones (with a Jailbroken device). I couldn't quite figure out how to make such a widget. The Widgets (WeeApps) are bundles stored in /System/Library/WeeAppPlugins. It would be great if anyone has already writren a guide or could share how the principal class of a WeeApp has to look like. Ideal would be to have a WeeApp NIC template for theos :)

Note: This question is regarding so called WeeApps, system plugins for Notification Center introduced in iOS 5. Not to be confused with Today View Extensions introduced in iOS 8.

like image 998
JonasG Avatar asked Aug 29 '11 00:08

JonasG


People also ask

How do I add widgets to my iPhone Notification Center?

Add widgets to Notification CenterIn the Edit Widgets view, click the add button in the corner of any widget. If the widget is available in different sizes, click the small , medium , or large button before adding the widget. Click Done when you're finished.

Can you do widgets on iPhone 5?

Go to the Home Screen page where you want to add the widget, then touch and hold the Home Screen background until the apps begin to jiggle. at the top of the screen to open the widget gallery. Scroll or search to find the widget you want, tap it, then swipe left and right through the size options.


1 Answers

I don't want to shameless-plug in here, but I wrote a small tutorial to help you with this.

How to write Notification Center Widgets for iOS (iOS 6 and Below)

Hope it helps you!

UPDATE

Please note this is for iOS widgets running iOS 6 and below - In other words, this is for old jailbreak development. I may write an iOS 8 tutorial eventually, but this one is not it.

like image 113
Andy Ibanez Avatar answered Sep 26 '22 14:09

Andy Ibanez