LIFETextInputField

@interface LIFETextInputField : LIFEInputField

Represents a single- or multi-line text input field in the Buglife bug reporter interface.

  • The placeholder text displayed by the text field when it is empty.

    Declaration

    Objective-C

    @property (readwrite, copy, nonatomic, nullable) NSString *placeholder;

    Swift

    var placeholder: String? { get set }
  • Returns YES if this is a multi-line text input field, or NO if it is a single-line text input field. The default value for this is NO.

    Declaration

    Objective-C

    @property (getter=isMultiline, assign, readwrite, nonatomic) BOOL multiline;

    Swift

    var isMultiline: Bool { get set }
  • Returns the system-provided summary field (i.e. What happened?). When there are no custom input fields configured, the bug reporter UI shows the summary field by default.

    Declaration

    Objective-C

    + (nonnull instancetype)summaryInputField;

    Swift

    class func summary() -> Self
  • Returns a field for entering the user’s email address.

    If an email is programmatically set using Buglife.setUserEmail(), then that email will be shown by default for this field.

    If the user edits the value for this field, then the new value will override whatever value may have been provided via BuglifesetUserEmail(), and the new value will persist across application launches.

    Declaration

    Objective-C

    + (nonnull instancetype)userEmailInputField;

    Swift

    class func userEmail() -> Self