CNSocialProfile
An immutable object that represents one of the user’s social profiles.
Declaration
class CNSocialProfileOverview
Some social profile services, such as Facebook and Twitter, are predefined in this class. You can also specify your own social profile service with the init(urlString:username:userIdentifier:service:) method.
CNSocialProfile objects are thread-safe, and you may access their properties from any thread of your app.
Topics
Creating a Social Profile Object
Getting Social Profile Information
Getting Localized User Profile Information
localizedString(forKey:)CNSocialProfileUsernameKeyCNSocialProfileServiceKeyCNSocialProfileURLStringKeyCNSocialProfileUserIdentifierKey
Getting Localized Service Names
localizedString(forService:)CNSocialProfileServiceFacebookCNSocialProfileServiceFlickrCNSocialProfileServiceGameCenterCNSocialProfileServiceLinkedInCNSocialProfileServiceMySpaceCNSocialProfileServiceSinaWeiboCNSocialProfileServiceTencentWeiboCNSocialProfileServiceTwitterCNSocialProfileServiceYelp