Floating label text is a known UI element.Here UITextField and UITextView are supported with FloatingLabels in Swift.