Instance Method

removeAllImages()

Removes all images from the post.

Declaration

func removeAllImages() -> Bool

Return Value

Returns a Boolean value that indicates whether the images were successfully removed.

Discussion

If the view controller has already been presented to the user when removeAllImages() is called, the method returns false and the images are not removed.

See Also

Specifying the Contents of the Post

func setInitialText(String!) -> Bool

Sets the initial text to be posted.

func add(UIImage!) -> Bool

Adds an image to the post.

func add(URL!) -> Bool

Adds a URL to the post.

func removeAllURLs() -> Bool

Removes all URLs from the post.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software