Deprecated UITextView Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Available in iOS 2.0 through iOS 6.1

hasText

Returns a Boolean value indicating whether the text view currently contains any text. (Available in iOS 2.0 through iOS 6.1.)

- (BOOL)hasText
Return Value

YES if the receiver contains text or NO if it does not.

Availability
  • Available in iOS 2.0 through iOS 6.1.
Declared In
UITextView.h