UITextView

In this short Swift code example, you will learn how to create and customize UITextView programmatically in Swift. The code example below will cover the following: Create UITextView programmatically, Position UITextView at a specific location within a view, Position UITextView at the center of the view, Change UITextView text color, Change UITextView background color, Set…

Read More Create and Customize UITextView Programmatically in Swift

In this short Swift code example, you will learn how to create UITextView programmatically in Swift. Create UITextView programmatically Position UITextView at a specific location within a view Position UITextView at the center of the view Change UITextView text color Change UITextView background color let textView = UITextView(frame: CGRect(x: 20.0, y: 90.0, width: 250.0, height:…

Read More Create UITextView Programmatically in Swift