Use text elements
On Android, you should use a TextView or an equivalent element to display text.
xml
<TextView android:text="Appt" /> In Jetpack Compose, you should use a Text) Composable or an equivalent element to display text.
kotlin
Text(text = "Appt") On iOS, you should use UILabel or UITextView or an equivalent element to display text.
swift
let label = UILabel()
label.text = "Appt" In SwiftUI, you should use Text view to display text. You can use textSelection) modifier to control whether users can select text within the view.
swift
Text("Appt")
.textSelection(.enabled) With React Native, you should use Text or an equivalent element to display text.
jsx
<Text>Appt</Text> With Xamarin, you should use Label or an equivalent element to display text.
xml
<Label Text="Appt"/>