tocapitalizationType = UITextAutocapitalizationType.Noneįor more Swift code examples and tutorials, please check the Swift Code Examples page on this website. TextView.spellCheckingType = UITextSpellCheckingType.yes 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. tocorrectionType = UITextAutocorrectionType.yes Double-click on the image file, and then position your cursor where you'd like the image to go. TextView.dataDetectorTypes = UIDataDetectorTypes.link tocapitalizationType = UITextAutocapitalizationType.allCharacters TextView.font = UIFont(name: "Verdana", size: 17)
![set background color of textbox iswift set background color of textbox iswift](https://i.pinimg.com/736x/d9/c9/89/d9c989029d43ed4489e2a57f33c6e5f5.jpg)
TextView.font = UIFont.boldSystemFont(ofSize: 20) TextView.font = UIFont.systemFont(ofSize: 20) Update UITextView font size and colour TextView.backgroundColor = UIColor.lightGray TextView.textAlignment = NSTextAlignment.justified
![set background color of textbox iswift set background color of textbox iswift](https://extendthemes.com/knowledge-base/highlight/wp-content/uploads/sites/5/2019/03/text-box-background-options-1024x480.png)
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.