Share via


SLComposeViewController.FromService Method

Definition

Overloads

Name Description
FromService(NSString)
FromService(SLServiceKind)

Creates a new compose view controller for the specified service.

FromService(NSString)

[Foundation.Export("composeViewControllerForServiceType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static Social.SLComposeViewController FromService(Foundation.NSString serviceType);
[<Foundation.Export("composeViewControllerForServiceType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromService : Foundation.NSString -> Social.SLComposeViewController

Parameters

serviceType
NSString

Returns

Attributes

Applies to

FromService(SLServiceKind)

Creates a new compose view controller for the specified service.

public static Social.SLComposeViewController FromService(Social.SLServiceKind serviceKind);
static member FromService : Social.SLServiceKind -> Social.SLComposeViewController

Parameters

serviceKind
SLServiceKind

Returns

Applies to