Instance Property

autoCompletionViewController

The view controller that manages an autocompletion view for suggesting common text completions while users type.

Declaration

@property(strong, nonatomic) UIViewController *autoCompletionViewController;

Discussion

An autocompletion view can appear in place of the list of configuration items, just below the text view in the compose view. The compose view controller allows only one autocompletion view controller to be present at a time.

Note that your custom autocompletion view controller should set its preferredContentSize property to an appropriate value. SLComposeServiceViewController observes changes to the preferredContentSize property and animates view size changes, if necessary.

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