Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 656 Bytes

File metadata and controls

19 lines (14 loc) · 656 Bytes

Transcript - iOS

On iOS, you can use UITextView to present a transcript. A UITextView is scrollable by default. You can also choose to place one or more UILabel's in a UIScrollView.

// Option 1
let transcript = UITextView()
transcript.text = "Appt transcript"

// Option 2
let transcript = UILabel()
transcript.text = "Appt transcript"

let view = UIView()
view.addSubview(transcript)

let scrollView = UIScrollView()
scrollView.addSubview(view)