Instance Property

contentText

A string that represents the text which the user entered into the compose view’s text view.

Declaration

iOS, Mac Catalyst
@property(readonly, nonatomic) NSString *contentText;
macOS
@property(readonly, atomic) NSString *contentText;

See Also

Managing the Contents of the Post

placeholder

A string that’s displayed in the compose view’s text view when the text view is empty.

textView

The editable text view in the compose view.

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