Creates a new social compose view controller.
- iOS 6.0+
- Mac Catalyst 13.0+
This specifies the social networking service to which you want to post. You must use one of the possible values listed in Service Type Constants. This also sets the value of
service. If an invalid
serviceis passed in, this method throws an exception.
Returns a social compose view controller or
nil if an error occurs.
Use this method to create a social compose view controller. Do not use any other methods.