UIActivityItemProvider.GetSubjectForActivity(UIActivityViewController, NSString) Method

Definition

Returns the subject field for activities that have a subject.

[Foundation.Export("activityViewController:subjectForActivityType:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string GetSubjectForActivity (UIKit.UIActivityViewController activityViewController, Foundation.NSString activityType);
abstract member GetSubjectForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string
override this.GetSubjectForActivity : UIKit.UIActivityViewController * Foundation.NSString -> string

Parameters

activityViewController
UIActivityViewController
activityType
NSString

Returns

String
Attributes

Remarks

(More documentation for this node is coming)

This can be used from a background thread.

Applies to