Replicate "Weather information provided by The Weather Channel, LLC."

Where this message comes from?


"Weather information provided by The Weather Channel, LLC."


In Notification Center's Today if Weather or Stock widget is added, the line crediting providers appearing below all the widgets.


Is there API or other way to implement similar feature for the 3rd party widgets?

15 seconds to find it: https://developer.accuweather.com

I am not asking about accuweather API, I want to know if there is a NotificationCenter API that will add the crediting line to the Provider of my Today Widget (similar to those for Weather.com and Yahoo from Stocks app).

May be a hint:


Did you succeed to access to the widgetController, and from there to its window.


Then you may try to list all the views and check if you find the one that holds notices.

- (void)postNotificationName:(NSNotificationName)aName 
object:(id)anObject
userInfo:(NSDictionary *)aUserInfo;

/System/Library/CoreServices/NotificationCenter.app/Contents/Resources/en.lproj/Localizable.strings

PROVIDER

PROVIDER_NEWLINE


give the format string used by Notification Center

Replicate "Weather information provided by The Weather Channel, LLC."
 
 
Q