編輯

共用方式為


SLComposeViewController.FromService Method

Definition

Overloads

FromService(NSString)

Creates a new compose view controller for the specified service.

FromService(SLServiceKind)

Creates a new compose view controller for the specified service.

FromService(NSString)

Creates a new compose view controller for the specified service.

[Foundation.Export("composeViewControllerForServiceType:")]
public static Social.SLComposeViewController FromService (Foundation.NSString serviceType);
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