One Logo Pool Ball
Social · IOS API REFERENCE

SLComposeViewController

class · iOS 6.0+ · SDK 27.1

class SLComposeViewController

Members (10)

init · iOS 6.0+

init

TypeScript
static init(serviceType?: (string) | null): Promise<SLComposeViewController>
Swift declaration
init!(forServiceType serviceType: String!)
static · iOS 6.0+

isAvailable

TypeScript
static isAvailable(serviceType?: (string) | null): Promise<boolean>
Swift declaration
class func isAvailable(forServiceType serviceType: String!) -> Bool
method · iOS 6.0+

add

TypeScript
add(image?: (_UIKit_UIImage) | null): Promise<boolean>
Swift declaration
func add(_ image: UIImage!) -> Bool
method · iOS 6.0+

add

TypeScript
add77170(url?: (string) | null): Promise<boolean>
Swift declaration
func add(_ url: URL!) -> Bool
method · iOS 6.0+

removeAllImages

TypeScript
removeAllImages(): Promise<boolean>
Swift declaration
func removeAllImages() -> Bool
method · iOS 6.0+

removeAllURLs

TypeScript
removeAllURLs(): Promise<boolean>
Swift declaration
func removeAllURLs() -> Bool
method · iOS 6.0+

setInitialText

TypeScript
setInitialText(text?: (string) | null): Promise<boolean>
Swift declaration
func setInitialText(_ text: String!) -> Bool
get · iOS 6.0+

completionHandler

TypeScript
get completionHandler(): Promise<(((arg0: SLComposeViewControllerResult) => Promise<void>)) | null>
Swift declaration
var completionHandler: SLComposeViewControllerCompletionHandler! { get set }
set · iOS 6.0+

completionHandler

TypeScript
setCompletionHandler(value?: (((arg0: SLComposeViewControllerResult) => void)) | null): Promise<void>
Swift declaration
var completionHandler: SLComposeViewControllerCompletionHandler! { get set }
get · iOS 6.0+

serviceType

TypeScript
get serviceType(): Promise<(string) | null>
Swift declaration
var serviceType: String! { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SLComposeViewController.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All Social types →