


TextView.spellCheckingType = UITextSpellCheckingType.yes tocorrectionType = UITextAutocorrectionType.yes TextView.dataDetectorTypes = UIDataDetectorTypes.link tocapitalizationType = UITextAutocapitalizationType.allCharacters TextView.font = UIFont(name: "Verdana", size: 17) TextView.font = UIFont.boldSystemFont(ofSize: 20) TextView.font = UIFont.systemFont(ofSize: 20) Click on the Fill icon and choose a fill color to apply it to the. Finally, bring up the Swatches panel by clicking the swatch icon in the control panel, or selecting 'Window' > 'Color' > 'Swatches'. Click once, and InDesign will place the image. Update UITextView font size and colour Double-click on the image file, and then position your cursor where you'd like the image to go. TextView.backgroundColor = UIColor.lightGray TextView.textAlignment = NSTextAlignment.justified

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